Get rid of the home controller

This commit is contained in:
Henne Vogelsang 2014-11-14 17:24:24 +01:00
parent a41f76cca1
commit e65ca7fb58
11 changed files with 64 additions and 56 deletions

View file

@ -112,7 +112,7 @@ class Ability
def guest
## Abilities for everyone, even guests (not logged in users)
can [:show, :gallery_photos], Conference do |conference|
can [:index, :show, :gallery_photos], Conference do |conference|
conference.splashpage && conference.splashpage.public == true
end