]> git.openstreetmap.org Git - rails.git/blobdiff - app/abilities/ability.rb
Split user preferences into a separate page
[rails.git] / app / abilities / ability.rb
index c03ab288ca36d06c309c90e406a8ad5f18ea5398..b77f68be755ccf216da094f5b87f3edffc19446f 100644 (file)
@@ -46,6 +46,7 @@ class Ability
         can [:make_friend, :remove_friend], Friendship
         can [:new, :create, :reply, :show, :inbox, :outbox, :mark, :destroy], Message
         can [:close, :reopen], Note
+        can [:show, :edit, :update], :preference
         can [:new, :create], Report
         can [:mine, :new, :create, :edit, :update, :destroy], Trace
         can [:account, :go_public], User