X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/19c2f6d485baf6ae5986a9eeaed412cb2e2039a1..951564eed1c82ec1a435f4e4636db86d1b7604fc:/app/controllers/api_controller.rb diff --git a/app/controllers/api_controller.rb b/app/controllers/api_controller.rb index 511748d8d..579af27cf 100644 --- a/app/controllers/api_controller.rb +++ b/app/controllers/api_controller.rb @@ -32,7 +32,7 @@ class ApiController < ApplicationController def gpx_status status = database_status - status = :offline if status == :online && Settings.status == "gpx_offline" + status = "offline" if status == "online" && Settings.status == "gpx_offline" status end