diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-04-04 12:32:50 +0200 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-04-06 19:56:34 +0200 |
commit | a3a93ba4b08176b8d63ed5f6ca95dfa78e7dda0b (patch) | |
tree | 8eaa43fe3d2fb5057321cb31ce7c66018204f1a6 /app/controllers | |
parent | 97a2de9e03f9ad947642ded3b4f4e7761fcaa9c3 (diff) | |
download | gitlab-ce-a3a93ba4b08176b8d63ed5f6ca95dfa78e7dda0b.tar.gz |
Expose project badges in project settings menu
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/projects/badges_controller.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/projects/badges_controller.rb b/app/controllers/projects/badges_controller.rb index b96555a153a..6e442d66adc 100644 --- a/app/controllers/projects/badges_controller.rb +++ b/app/controllers/projects/badges_controller.rb @@ -1,4 +1,6 @@ class Projects::BadgesController < Projects::ApplicationController + layout 'project_settings' + before_action :authorize_admin_project!, only: [:index] before_action :no_cache_headers, except: [:index] def index |