Commit e2672c68 authored by Felipe Artur's avatar Felipe Artur

Fix group boards controller modules

parent aab2a232
...@@ -2,6 +2,7 @@ module EE ...@@ -2,6 +2,7 @@ module EE
module Boards module Boards
module BoardsController module BoardsController
extend ActiveSupport::Concern extend ActiveSupport::Concern
prepended do prepended do
before_action :check_multiple_issue_boards_available!, only: [:create] before_action :check_multiple_issue_boards_available!, only: [:create]
before_action :authorize_admin_board!, only: [:create, :update, :destroy] before_action :authorize_admin_board!, only: [:create, :update, :destroy]
......
class Groups::BoardsController < Groups::ApplicationController class Groups::BoardsController < Groups::ApplicationController
prepend EE::Boards::BoardsController prepend ::EE::Boards::BoardsController
prepend EE::BoardsResponses prepend ::EE::BoardsResponses
include BoardsResponses include BoardsResponses
before_action :check_group_issue_boards_available! before_action :check_group_issue_boards_available!
......
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