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
class Boards < ::Grape::API
include ::API::PaginationParams
include ::API::BoardsResponses
include BoardsResponses
prepend EE::API::BoardsResponses
before { authenticate! }
......
......@@ -3,7 +3,8 @@ module EE
class GroupBoards < ::Grape::API
include ::API::PaginationParams
include ::API::BoardsResponses
include BoardsResponses
prepend EE::API::BoardsResponses
before do
authenticate!
......
module API
class Boards < Grape::API
include BoardsResponses
include EE::API::BoardsResponses
include PaginationParams
prepend EE::API::BoardsResponses
before { authenticate! }
helpers do
......
module API
class GroupBoards < Grape::API
include BoardsResponses
include EE::API::BoardsResponses
include PaginationParams
prepend EE::API::BoardsResponses
before do
authenticate!
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