add ability to change namespace from project edit page

This commit is contained in:
Dmitriy Zaporozhets 2012-11-24 22:00:30 +02:00
parent f997947664
commit f37fa968b2
9 changed files with 64 additions and 26 deletions

View file

@ -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();