X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/ce99bfd9ac255cfaa1902f6c71fdf46c3a3ca706..96ee7ef95c434df4ba9bb5d02257a8355c0b6f50:/app/controllers/api/traces_controller.rb diff --git a/app/controllers/api/traces_controller.rb b/app/controllers/api/traces_controller.rb index 000bb7f90..0b441bef9 100644 --- a/app/controllers/api/traces_controller.rb +++ b/app/controllers/api/traces_controller.rb @@ -159,7 +159,7 @@ module Api end def offline_error - report_error "GPX files offline for maintenance", :service_unavailable + report_error "GPX files offline for maintenance", :service_unavailable if Settings.status == "gpx_offline" end end end