All events moved to a different controller method

All events moved to a different controller method and css changed to put together things with the same css attributes.
This commit is contained in:
Ana 2016-06-30 16:53:15 +02:00
parent 24364d0136
commit 6d9eabcc0e
9 changed files with 149 additions and 124 deletions

View file

@ -34,7 +34,7 @@ class Ability
conference.splashpage && conference.splashpage.public == true
end
# Can view the schedule
can [:schedule], Conference do |conference|
can [:schedule, :events], Conference do |conference|
conference.program.cfp && conference.program.schedule_public
end