Commit 3653810e authored by Lin Jen-Shin's avatar Lin Jen-Shin

Fix prepend. We're using prepended block

parent 97f9659a
...@@ -3,7 +3,8 @@ module EE ...@@ -3,7 +3,8 @@ module EE
class Boards < ::Grape::API class Boards < ::Grape::API
include ::API::PaginationParams include ::API::PaginationParams
include ::API::BoardsResponses include ::API::BoardsResponses
include BoardsResponses
prepend EE::API::BoardsResponses
before { authenticate! } before { authenticate! }
......
...@@ -3,7 +3,8 @@ module EE ...@@ -3,7 +3,8 @@ module EE
class GroupBoards < ::Grape::API class GroupBoards < ::Grape::API
include ::API::PaginationParams include ::API::PaginationParams
include ::API::BoardsResponses include ::API::BoardsResponses
include BoardsResponses
prepend EE::API::BoardsResponses
before do before do
authenticate! authenticate!
......
module API module API
class Boards < Grape::API class Boards < Grape::API
include BoardsResponses include BoardsResponses
include EE::API::BoardsResponses
include PaginationParams include PaginationParams
prepend EE::API::BoardsResponses
before { authenticate! } before { authenticate! }
helpers do helpers do
......
module API module API
class GroupBoards < Grape::API class GroupBoards < Grape::API
include BoardsResponses include BoardsResponses
include EE::API::BoardsResponses
include PaginationParams include PaginationParams
prepend EE::API::BoardsResponses
before do before do
authenticate! authenticate!
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment