ability foto 3

This commit is contained in:
Andreas Stephanides
2015-02-25 16:15:06 +01:00
parent 855117a117
commit 554c7ef937

View File

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