Commit 3459b6aa authored by Felipe Artur's avatar Felipe Artur

move multiple_issue_boards method from namespace model to group model

parent 72c0431d
......@@ -140,4 +140,3 @@ export default {
</div>
</div>
</template>
......@@ -80,7 +80,6 @@ constraints(GroupUrlConstrainer.new) do
end
resources :billings, only: [:index]
resources :epics do
member do
get :realtime_changes
......
......@@ -5,6 +5,7 @@ module EE
# and be included in the `Group` model
module Group
extend ActiveSupport::Concern
extend ::Gitlab::Utils::Override
included do
has_many :epics
......@@ -61,5 +62,10 @@ module EE
def project_creation_level
super || ::Gitlab::CurrentSettings.default_project_creation
end
override :multiple_issue_boards_available?
def multiple_issue_boards_available?
feature_available?(:multiple_group_issue_boards)
end
end
end
......@@ -160,11 +160,6 @@ module EE
actual_plan&.pipeline_size_limit.to_i
end
override :multiple_issue_boards_available?
def multiple_issue_boards_available?
feature_available?(:multiple_group_issue_boards)
end
private
def validate_plan_name
......
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