update new controllers
This commit is contained in:
parent
e563e948bb
commit
933c5e4146
5 changed files with 5 additions and 28 deletions
|
@ -1,12 +1,8 @@
|
|||
# Controller for a specific Commit
|
||||
#
|
||||
# Not to be confused with CommitsController, plural.
|
||||
class CommitController < ApplicationController
|
||||
before_filter :project
|
||||
layout "project"
|
||||
|
||||
class CommitController < ProjectController
|
||||
# Authorize
|
||||
before_filter :add_project_abilities
|
||||
before_filter :authorize_read_project!
|
||||
before_filter :authorize_code_access!
|
||||
before_filter :require_non_empty_project
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue