From 0d17c4761ff44c86c0378189d56f0be2a3ec8484 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sun, 7 Apr 2013 01:08:57 -0400 Subject: Reorder Clips so most recent clips appear first --- clip.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clip.rb b/clip.rb index ef3c1ce..debe4a2 100644 --- a/clip.rb +++ b/clip.rb @@ -9,7 +9,7 @@ end module Clip::Controllers class Index < R '/' def get - @clips = Clip.all + @clips = Clip.order('created_at desc').all render :index end -- cgit v1.2.3