2018-05-09 12:01:36 +05:30
|
|
|
module Groups
|
|
|
|
module Settings
|
|
|
|
class BadgesController < Groups::ApplicationController
|
2018-11-08 19:23:39 +05:30
|
|
|
include API::Helpers::RelatedResourcesHelpers
|
2018-05-09 12:01:36 +05:30
|
|
|
|
|
|
|
before_action :authorize_admin_group!
|
|
|
|
|
|
|
|
def index
|
2018-11-08 19:23:39 +05:30
|
|
|
@badge_api_endpoint = expose_url(api_v4_groups_badges_path(id: @group.id))
|
2018-05-09 12:01:36 +05:30
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|