Skip to content

Commit

Permalink
Venue page doesn't show past events.
Browse files Browse the repository at this point in the history
  • Loading branch information
adambaker committed Aug 7, 2011
1 parent a4da474 commit dd4a164
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/venues/show.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@
%h3 Venue intel:
#description= display_format(@venue.description)

-if @venue.events.any?
-if @venue.events.future.any?
%h2 Missions in this theater:
%table#events
- @venue.events.each do |event|
- @venue.events.future.each do |event|
%tr
%td.date= event_date event
%td.name= link_to event.name, event
Expand Down

0 comments on commit dd4a164

Please sign in to comment.