diff options
| author | Cyril <jv.cyril@gmail.com> | 2012-09-26 01:21:37 +0200 |
|---|---|---|
| committer | Cyril <jv.cyril@gmail.com> | 2012-09-26 22:27:43 +0200 |
| commit | 078a8f0e662a1626b53bbf7f7c3e2b0599c94810 (patch) | |
| tree | bc650d9d1fb9d5934ae09f98d9d3ba7619dfb224 /app/controllers/labels_controller.rb | |
| parent | 0439387be00bfb862b4454000f805f11fb8cc389 (diff) | |
| download | gitlab-ce-078a8f0e662a1626b53bbf7f7c3e2b0599c94810.tar.gz | |
factorize before_filters and layout for projects related controllers
Diffstat (limited to 'app/controllers/labels_controller.rb')
| -rw-r--r-- | app/controllers/labels_controller.rb | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/app/controllers/labels_controller.rb b/app/controllers/labels_controller.rb index 189d8d9866d..203bff56a71 100644 --- a/app/controllers/labels_controller.rb +++ b/app/controllers/labels_controller.rb @@ -1,12 +1,6 @@ -class LabelsController < ApplicationController - before_filter :project +class LabelsController < ProjectController before_filter :module_enabled - layout "project" - - # Authorize - before_filter :add_project_abilities - # Allow read any issue before_filter :authorize_read_issue! |
