Added some localization

This commit is contained in:
2013-01-20 10:16:50 -05:00
parent a9a4cd892f
commit edb1ea204f
8 changed files with 220 additions and 15 deletions

View File

@@ -10,7 +10,7 @@ class Ability
can :read, Forum, :state => true, :category => { :state => true }
can :read, Topic, :forum => { :state => true, :category => { :state => true } }
can :read, Post, :topic => { :forum => { :state => true, :category => { :state => true } } }
can :update, Post, :user_id => user.id, :topic => { :locked => false }
can :destroy, [Topic,Post], :user_id => user.id, :topic => { :locked => false }