Commit af7dcda1cb33fc8c828d41f4c2ac89f7d2ce8315
1 parent
6f05ea4f
Exists in
master
and in
4 other branches
Fix project creation
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/controllers/projects_controller.rb
| ... | ... | @@ -19,7 +19,7 @@ class ProjectsController < ProjectResourceController |
| 19 | 19 | end |
| 20 | 20 | |
| 21 | 21 | def create |
| 22 | - @project = Projects::CreateContext.new(current_user, params).execute | |
| 22 | + @project = Projects::CreateContext.new(current_user, params[:project]).execute | |
| 23 | 23 | |
| 24 | 24 | respond_to do |format| |
| 25 | 25 | flash[:notice] = 'Project was successfully created.' if @project.saved? | ... | ... |