foodsoft/app/views/articles/create.js.haml
2014-05-13 17:01:24 +02:00

3 lines
180 B
Text

$('#modalContainer').modal('hide');
$('#listbody').prepend('#{escape_javascript(render(@article))}');
= render 'import_article_added', article: @article if @article.shared_article