Skip to content

Commit

Permalink
[webui] fix crash after configuration change due to syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianschroeter committed Feb 13, 2014
1 parent 96f313d commit 4d08841
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/webui/app/controllers/configuration_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def save_instance
if @project.save
if Project.exists? "home:#{@user.login.to_s}"
flash[:notice] = "Project '#{project_name}' was created successfully"
redirect_to :controller => project, :action => 'show', :project => project_name and return
redirect_to :controller => :project, :action => 'show', :project => project_name and return
else
flash[:note] = "Project '#{project_name}' was created successfully. Next step is create your home project"
redirect_to :controller => :project, :action => :new, :ns => "home:#{@user.login.to_s}"
Expand Down

0 comments on commit 4d08841

Please sign in to comment.