diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-11-25 00:00:30 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-11-25 00:00:30 +0400 |
commit | f37fa968b2509d8e2ab0fc72aba1fb53df7451c7 (patch) | |
tree | ecdeebab9c2c8ee747b2cf59dcebf1cfdb0ec1e0 /app/views/projects/update.js.haml | |
parent | f997947664a7c959b5e606614f56dc52443bd0dd (diff) |
add ability to change namespace from project edit page
Diffstat (limited to 'app/views/projects/update.js.haml')
-rw-r--r-- | app/views/projects/update.js.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/update.js.haml b/app/views/projects/update.js.haml index 8aaa0e491dd..f44ed529182 100644 --- a/app/views/projects/update.js.haml +++ b/app/views/projects/update.js.haml @@ -1,6 +1,6 @@ - if @project.valid? :plain - location.href = "#{edit_project_path(@project, notice: 'Project was successfully updated.')}"; + location.href = "#{edit_project_path(@project)}"; - else :plain $('.project_edit_holder').show(); |