7754189187
Didn't bother with files in db/, config/, or features/
8 lines
289 B
Text
8 lines
289 B
Text
- if @project.valid?
|
|
:plain
|
|
location.href = "#{edit_project_path(@project, notice: 'Project was successfully updated.')}";
|
|
- else
|
|
:plain
|
|
$('.project_edit_holder').show();
|
|
$(".edit_project").replaceWith("#{escape_javascript(render('form'))}");
|
|
$('.ajax_loader').hide();
|