Fixed admin, orders, wiki views. Converted all erb to haml.
This commit is contained in:
parent
699fb9b233
commit
552c553b77
169 changed files with 1158 additions and 1307 deletions
4
app/views/articles/destroy.js.haml
Normal file
4
app/views/articles/destroy.js.haml
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
- if @order
|
||||
$('#article_#{@article.id}').after('#{escape_javascript(render("destroy_active_article"))}');
|
||||
- else
|
||||
$('#article_#{@article.id}').remove();
|
||||
Loading…
Add table
Add a link
Reference in a new issue