mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Get rid of the schedule controller
This commit is contained in:
parent
ebb7d8da2c
commit
ce6ed0a8e9
10 changed files with 19 additions and 30 deletions
|
|
@ -104,7 +104,7 @@ class Ability
|
|||
|
||||
def guest
|
||||
## Abilities for everyone, even guests (not logged in users)
|
||||
can [:index, :show], Conference do |conference|
|
||||
can [:index, :show, :schedule], Conference do |conference|
|
||||
conference.splashpage && conference.splashpage.public == true
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue