Commit e2672c68 authored by Felipe Artur's avatar Felipe Artur

Fix group boards controller modules

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