summaryrefslogtreecommitdiff
path: root/app/controllers/groups/settings/badges_controller.rb
blob: edb334a3d88b41d379ff549b24e773b08fa6afb5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
module Groups
  module Settings
    class BadgesController < Groups::ApplicationController
      include GrapeRouteHelpers::NamedRouteMatcher

      before_action :authorize_admin_group!

      def index
        @badge_api_endpoint = api_v4_groups_badges_path(id: @group.id)
      end
    end
  end
end