layout selected by controller name
This commit is contained in:
parent
078a8f0e66
commit
bdf317addc
7 changed files with 12 additions and 30 deletions
|
@ -8,6 +8,8 @@ class ProjectsController < ProjectController
|
|||
before_filter :authorize_admin_project!, only: [:edit, :update, :destroy]
|
||||
before_filter :require_non_empty_project, only: [:blob, :tree, :graph]
|
||||
|
||||
layout 'application', only: [:new, :create]
|
||||
|
||||
def new
|
||||
@project = Project.new
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue