display recent snippets at top

This commit is contained in:
Nihad Abbasov 2011-10-27 12:14:50 +05:00
parent 5e584ee626
commit 000c032482
2 changed files with 3 additions and 1 deletions

View file

@ -8,7 +8,7 @@
%th Title
%th File name
%th
= render @snippets
= render @snippets.fresh
:javascript
$('.delete-snippet').live('ajax:success', function() {
$(this).closest('tr').fadeOut(); });