summaryrefslogtreecommitdiff
path: root/app/controllers/groups_controller.rb
diff options
context:
space:
mode:
authorWinnie Hellmann <winnie@gitlab.com>2018-09-03 13:16:23 +0000
committerPhil Hughes <me@iamphill.com>2018-09-03 13:16:23 +0000
commit743add978aafa43862867a89b00a04e888199947 (patch)
treee2ff2db449f186d5c2dcb9da055d75851af6ab5a /app/controllers/groups_controller.rb
parentc0625e5de1fe491675aadf825fdb9e976f089409 (diff)
downloadgitlab-ce-743add978aafa43862867a89b00a04e888199947.tar.gz
Move badge settings to general settings
Diffstat (limited to 'app/controllers/groups_controller.rb')
-rw-r--r--app/controllers/groups_controller.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/groups_controller.rb b/app/controllers/groups_controller.rb
index 83169636ccf..e57b9ff23a7 100644
--- a/app/controllers/groups_controller.rb
+++ b/app/controllers/groups_controller.rb
@@ -1,4 +1,5 @@
class GroupsController < Groups::ApplicationController
+ include API::Helpers::RelatedResourcesHelpers
include IssuesAction
include MergeRequestsAction
include ParamsBackwardCompatibility
@@ -77,6 +78,7 @@ class GroupsController < Groups::ApplicationController
end
def edit
+ @badge_api_endpoint = expose_url(api_v4_groups_badges_path(id: @group.id))
end
def projects