]> git.openstreetmap.org Git - rails.git/blobdiff - app/abilities/api_ability.rb
Rename api changesets index action
[rails.git] / app / abilities / api_ability.rb
index e20b849d11d96991f494be946776cd9ede66987b..96ed9b080fa3b79f4692aab8c52c21aa1c4efe5d 100644 (file)
@@ -10,7 +10,7 @@ class ApiAbility
     can :show, :version
 
     if Settings.status != "database_offline"
-      can [:show, :download, :query], Changeset
+      can [:index, :show, :download], Changeset
       can [:index, :create, :feed, :show, :search], Note
       can :index, Tracepoint
       can [:index, :show], User