]> git.openstreetmap.org Git - rails.git/blobdiff - app/abilities/api_ability.rb
Resourceful route names for api/trace_controller
[rails.git] / app / abilities / api_ability.rb
index 54bc8fb4c4cbaddbbbbd9a3332b4d6789ef4aa88..074a7f95d8bf0907cb20929c5d34dd05364c31ff 100644 (file)
@@ -33,7 +33,7 @@ class ApiAbility
         can [:new, :create, :reply, :show, :inbox, :outbox, :mark, :destroy], Message
         can [:close, :reopen], Note
         can [:new, :create], Report
-        can [:api_create, :api_read, :api_update, :api_delete, :api_data], Trace
+        can [:create, :show, :update, :destroy, :data], Trace
         can [:api_details, :api_gpx_files], User
         can [:read, :read_one, :update, :update_one, :delete_one], UserPreference