Merge d425349bdd into eb9d799f23
This commit is contained in:
commit
4a624f10eb
6 changed files with 73 additions and 3 deletions
|
|
@ -29,7 +29,7 @@ class Ability
|
|||
|
||||
# Abilities for not signed in users (guests)
|
||||
def not_signed_in
|
||||
can [:index], Conference
|
||||
can [:index, :current], Conference
|
||||
can [:show], Conference do |conference|
|
||||
conference.splashpage && conference.splashpage.public == true
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue