From 819d7ac5ff6b2d9d55b6998bbf5f5f501aa35123 Mon Sep 17 00:00:00 2001 From: did Date: Tue, 19 Jul 2011 16:20:53 +0200 Subject: [PATCH] fix issue #131 --- app/models/ability.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/models/ability.rb b/app/models/ability.rb index e888574f..54d477bc 100644 --- a/app/models/ability.rb +++ b/app/models/ability.rb @@ -49,6 +49,8 @@ class Ability can :manage, ThemeAsset + can :manage, Asset + can :manage, Site do |site| site == @site end