summaryrefslogtreecommitdiff
path: root/app/views/projects/create.js.haml
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2012-08-10 18:07:50 -0400
committerRobert Speicher <rspeicher@gmail.com>2012-08-10 18:25:15 -0400
commit775418918782d5284000ed0bfea364458c748567 (patch)
treec31e3633a3bcbed17b000f0165cf35edad41f7ca /app/views/projects/create.js.haml
parent1413c23c502d5a5cbc9b81f553a245103c1d6e50 (diff)
downloadgitlab-ce-775418918782d5284000ed0bfea364458c748567.tar.gz
Fully embrace Ruby 1.9 hash syntax
Didn't bother with files in db/, config/, or features/
Diffstat (limited to 'app/views/projects/create.js.haml')
-rw-r--r--app/views/projects/create.js.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/create.js.haml b/app/views/projects/create.js.haml
index eeefc1729c8..2f6264a15af 100644
--- a/app/views/projects/create.js.haml
+++ b/app/views/projects/create.js.haml
@@ -1,6 +1,6 @@
- if @project.saved?
:plain
- location.href = "#{project_path(@project, :notice => 'Project was successfully created.')}";
+ location.href = "#{project_path(@project, notice: 'Project was successfully created.')}";
- else
- if @project.git_error?
location.href = "#{errors_githost_path}";