Show code of conduct on organizations
This commit is contained in:
parent
a6daff8582
commit
217ec1a46f
5 changed files with 30 additions and 7 deletions
|
|
@ -15,7 +15,7 @@ class Ability
|
|||
|
||||
# Abilities for not signed in users (guests)
|
||||
def not_signed_in
|
||||
can [:index, :conferences], Organization
|
||||
can [:index, :conferences, :code_of_conduct], Organization
|
||||
can [:index], Conference
|
||||
can [:show], Conference do |conference|
|
||||
conference.splashpage && conference.splashpage.public == true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue