X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/f1c6a87aa137c11d0aff5a4b0e563ac2c2a8f82d..0bbdadd727a37ee71d4a8c89b50ce2060d6a6240:/app/controllers/traces_controller.rb diff --git a/app/controllers/traces_controller.rb b/app/controllers/traces_controller.rb index b800d305e..b4853c6b8 100644 --- a/app/controllers/traces_controller.rb +++ b/app/controllers/traces_controller.rb @@ -67,7 +67,6 @@ class TracesController < ApplicationController # final helper vars for view @target_user = target_user - @display_name = target_user.display_name if target_user end def mine @@ -317,7 +316,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