summaryrefslogtreecommitdiff
path: root/app/views/snippets/index.html.haml
diff options
context:
space:
mode:
authorNihad Abbasov <narkoz.2008@gmail.com>2011-10-27 12:14:50 +0500
committerNihad Abbasov <narkoz.2008@gmail.com>2011-10-27 12:14:50 +0500
commit000c032482dbe2fe882f3b2583fe1a481edf460a (patch)
treeffe12c9a33dda815d233fffcc558e1e14df4507b /app/views/snippets/index.html.haml
parent5e584ee6264962cc60d9074c33141a28b4100607 (diff)
downloadgitlab-ce-000c032482dbe2fe882f3b2583fe1a481edf460a.tar.gz
display recent snippets at top
Diffstat (limited to 'app/views/snippets/index.html.haml')
-rw-r--r--app/views/snippets/index.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/snippets/index.html.haml b/app/views/snippets/index.html.haml
index fe5e617044b..3f2610004bf 100644
--- a/app/views/snippets/index.html.haml
+++ b/app/views/snippets/index.html.haml
@@ -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(); });