From 8b5cac4229e6eaad6bf7efba1d39a0011f3c18dd Mon Sep 17 00:00:00 2001 From: Nico Date: Mon, 12 Nov 2012 13:33:15 +0100 Subject: [PATCH] =?UTF-8?q?ordre=20actualit=C3=A9=20page=20d'accueil?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/public/home/home.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/public/home/home.html.haml b/app/views/public/home/home.html.haml index 4bf9f04..f91cee3 100644 --- a/app/views/public/home/home.html.haml +++ b/app/views/public/home/home.html.haml @@ -62,7 +62,7 @@ .slide %h2 A ne pas rater ! - =render Event.after(Time.now.beginning_of_day).limit(3) + =render Event.after(Time.now.beginning_of_day).order(:start_at).limit(3)