From 554c7ef937693b85f82517f0d8c15b70bdbaeffc Mon Sep 17 00:00:00 2001 From: Andreas Stephanides Date: Wed, 25 Feb 2015 16:15:06 +0100 Subject: [PATCH] ability foto 3 --- app/models/ability.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/ability.rb b/app/models/ability.rb index d9d7855..3602cb5 100755 --- a/app/models/ability.rb +++ b/app/models/ability.rb @@ -60,7 +60,7 @@ class Ability # can [:show,:index], Gallery, :intern=>false if loggedin - can [:show,:index], Gallery, :intern=>false + can [:show,:index], Gallery can :show, Foto end if( user.has_role?("fetuser") || user.has_role?("fetadmin"))