summaryrefslogtreecommitdiff
path: root/app/controllers/commit_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/commit_controller.rb')
-rw-r--r--app/controllers/commit_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/commit_controller.rb b/app/controllers/commit_controller.rb
index 3e1595f169f..25a1f0fe708 100644
--- a/app/controllers/commit_controller.rb
+++ b/app/controllers/commit_controller.rb
@@ -1,7 +1,7 @@
# Controller for a specific Commit
#
# Not to be confused with CommitsController, plural.
-class CommitController < ProjectController
+class CommitController < ProjectResourceController
# Authorize
before_filter :authorize_read_project!
before_filter :authorize_code_access!