Add a Happening Now View

This commit is contained in:
Michael Ball 2020-07-30 22:31:45 -07:00
parent 0d4733b130
commit 70bde86dd6
8 changed files with 80 additions and 9 deletions

View file

@ -31,7 +31,7 @@ class Ability
event.state == 'confirmed'
end
can [:show, :events, :app], Schedule do |schedule|
can [:show, :events, :happening_now, :app], Schedule do |schedule|
schedule.program.schedule_public
end