]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/ability.rb
fix tests for site controller
[rails.git] / app / models / ability.rb
index c712e3e822dbb6ea35e8f8fd66b35788febb168a..864225e8e83a151e737a8246a4d610c2723fae4b 100644 (file)
@@ -3,9 +3,10 @@ class Ability
 
   def initialize(user)
     can :index, :site
+    can [:permalink, :edit, :help, :fixthemap, :offline, :export, :about, :preview, :copyright, :key, :id, :welcome], :site
 
     if user
-      can :welcome, :site
+      can :weclome, :site
     end
     # Define abilities for the passed in user here. For example:
     #