]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/traces_controller.rb
Merge remote-tracking branch 'upstream/pull/3193'
[rails.git] / app / controllers / traces_controller.rb
index b800d305e03fc495f9bc9a7bdf5752a2ebd83bcf..0d3a1aa33c652a4c320e14ee0ebc48568d1ce0fb 100644 (file)
@@ -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