summaryrefslogtreecommitdiff
path: root/app/controllers/commits_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/commits_controller.rb')
-rw-r--r--app/controllers/commits_controller.rb6
1 files changed, 1 insertions, 5 deletions
diff --git a/app/controllers/commits_controller.rb b/app/controllers/commits_controller.rb
index 1e7aec005f1..c79784d6b18 100644
--- a/app/controllers/commits_controller.rb
+++ b/app/controllers/commits_controller.rb
@@ -1,11 +1,7 @@
require "base64"
-class CommitsController < ApplicationController
- before_filter :project
- layout "project"
-
+class CommitsController < ProjectController
# Authorize
- before_filter :add_project_abilities
before_filter :authorize_read_project!
before_filter :authorize_code_access!
before_filter :require_non_empty_project