X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/6a68e7676d950661edf24e572ee6ba302b9b3cc4..96f426a2eaa6009496b0f51934a497b3c970db97:/app/controllers/traces_controller.rb?ds=sidebyside diff --git a/app/controllers/traces_controller.rb b/app/controllers/traces_controller.rb index b800d305e..0d3a1aa33 100644 --- a/app/controllers/traces_controller.rb +++ b/app/controllers/traces_controller.rb @@ -317,7 +317,7 @@ class TracesController < ApplicationController end def offline_redirect - redirect_to :action => :offline if Settings.status == "gpx_offline" + render :action => :offline if Settings.status == "gpx_offline" end def default_visibility