diff options
author | Cyril <jv.cyril@gmail.com> | 2012-09-27 13:44:53 +0200 |
---|---|---|
committer | Cyril <jv.cyril@gmail.com> | 2012-09-27 13:44:53 +0200 |
commit | 933c5e414600d5e0170213db574ba6431c1444e4 (patch) | |
tree | 1dbb5540b1cc8e004c0866b1ebff17711c7f5f28 /app/controllers/blob_controller.rb | |
parent | e563e948bb907a26c4a170eaec0f3976fdf11d74 (diff) | |
download | gitlab-ce-933c5e414600d5e0170213db574ba6431c1444e4.tar.gz |
update new controllers
Diffstat (limited to 'app/controllers/blob_controller.rb')
-rw-r--r-- | app/controllers/blob_controller.rb | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/app/controllers/blob_controller.rb b/app/controllers/blob_controller.rb index 33387842ec2..30c704f22ae 100644 --- a/app/controllers/blob_controller.rb +++ b/app/controllers/blob_controller.rb @@ -1,14 +1,9 @@ # Controller for viewing a file's blame -class BlobController < ApplicationController +class BlobController < ProjectController include ExtractsPath include Gitlab::Encode - layout "project" - - before_filter :project - # Authorize - before_filter :add_project_abilities before_filter :authorize_read_project! before_filter :authorize_code_access! before_filter :require_non_empty_project |