ability foto 2

This commit is contained in:
Andreas Stephanides
2015-02-25 16:12:12 +01:00
parent 0575546603
commit 855117a117

View File

@@ -60,7 +60,7 @@ class Ability
# can [:show,:index], Gallery, :intern=>false
if loggedin
can :show,:index, Gallery, :intern=>false
can [:show,:index], Gallery, :intern=>false
can :show, Foto
end
if( user.has_role?("fetuser") || user.has_role?("fetadmin"))