Project tab r1 is finished

This commit is contained in:
Dmitriy Zaporozhets 2011-12-30 08:54:42 +02:00
parent c1c903fb95
commit 0f627a65f4
16 changed files with 128 additions and 53 deletions

View file

@ -1,6 +1,6 @@
- if @project.valid?
:plain
location.href = "#{project_path(@project, :notice => 'Project was successfully updated.')}";
location.href = "#{info_project_path(@project, :notice => 'Project was successfully updated.')}";
- else
:plain
$(".edit_project").replaceWith("#{escape_javascript(render('form'))}");