X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/15841e8d2ad12c538ef10f0d0782a25d1d7ff156..4b646e17a8c8246d1638bcece5d59369d78424e1:/app/abilities/api_ability.rb diff --git a/app/abilities/api_ability.rb b/app/abilities/api_ability.rb index a71d05d75..80245eeaa 100644 --- a/app/abilities/api_ability.rb +++ b/app/abilities/api_ability.rb @@ -9,7 +9,7 @@ class ApiAbility can :index, :map can :show, :permission can [:search_all, :search_nodes, :search_ways, :search_relations], :search - can [:trackpoints], :swf + can :show, :version if Settings.status != "database_offline" can [:show, :download, :query], Changeset