blob: 7887bee49c54858573b8e219b8ba1f96d4ba30cf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
module Projects
module Settings
class BadgesController < Projects::ApplicationController
include API::Helpers::RelatedResourcesHelpers
before_action :authorize_admin_project!
def index
@badge_api_endpoint = expose_url(api_v4_projects_badges_path(id: @project.id))
end
end
end
end
|