From 7fddca62160a886c1016127e8b5a34399876d325 Mon Sep 17 00:00:00 2001 From: Godwin Date: Mon, 18 Jul 2016 14:09:56 -0700 Subject: [PATCH] Sorted workshops on front page --- app/views/application/home.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/application/home.html.haml b/app/views/application/home.html.haml index 870caf0..98bcd85 100644 --- a/app/views/application/home.html.haml +++ b/app/views/application/home.html.haml @@ -13,4 +13,4 @@ - else %h3=_'articles.workshops.headings.Proposed_Workshops' %p=_'articles.workshops.paragraphs.Proposed_Workshops' - = render 'workshops/workshop_previews', :workshops => @conference.workshops + = render 'workshops/workshop_previews', :workshops => (@conference.workshops.sort { |a, b| a.title.downcase <=> b.title.downcase })