Merge pull request #2023 from martinsp/master

fixes :notice after project is created in projects_controller
This commit is contained in:
Dmitriy Zaporozhets 2012-11-21 06:25:16 -08:00
commit 9477448ac0
2 changed files with 3 additions and 2 deletions

View file

@ -1,6 +1,6 @@
- if @project.saved?
:plain
location.href = "#{project_path(@project, notice: 'Project was successfully created.')}";
location.href = "#{project_path(@project)}";
- else
- if @project.git_error?
location.href = "#{errors_githost_path}";