foodsoft/app/views/articles/create.js.haml

4 lines
180 B
Text
Raw Permalink Normal View History

2012-10-19 01:12:47 +02:00
$('#modalContainer').modal('hide');
$('#listbody').prepend('#{escape_javascript(render(@article))}');
2014-02-24 14:07:03 +01:00
= render 'import_article_added', article: @article if @article.shared_article