Fix project creation
This commit is contained in:
parent
6f05ea4f6e
commit
af7dcda1cb
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ class ProjectsController < ProjectResourceController
|
|||
end
|
||||
|
||||
def create
|
||||
@project = Projects::CreateContext.new(current_user, params).execute
|
||||
@project = Projects::CreateContext.new(current_user, params[:project]).execute
|
||||
|
||||
respond_to do |format|
|
||||
flash[:notice] = 'Project was successfully created.' if @project.saved?
|
||||
|
|
Loading…
Reference in a new issue