gitlab-org--gitlab-foss/app/controllers/groups/settings/badges_controller.rb
2018-05-17 11:45:59 +02:00

13 lines
316 B
Ruby

module Groups
module Settings
class BadgesController < Groups::ApplicationController
include API::Helpers::RelatedResourcesHelpers
before_action :authorize_admin_group!
def index
@badge_api_endpoint = expose_url(api_v4_groups_badges_path(id: @group.id))
end
end
end
end