Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed sorting of upcoming events.

  • Loading branch information...
commit 3dd66d08501fa6f8289ae8027fc176aa6c2a2a83 1 parent fd18f7f
@tylerhunt authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  app/controllers/venues_controller.rb
View
3  app/controllers/venues_controller.rb
@@ -5,7 +5,8 @@ def index
time = Time.zone.now
@talks_by_venue = Talk.all(
- :conditions => { :ends_at => time..(time + 2.hours) }
+ :conditions => { :ends_at => time..(time + 2.hours) },
+ :order => 'starts_at'
).group_by(&:venue)
respond_to do |format|
Please sign in to comment.
Something went wrong with that request. Please try again.