X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/75300566e123c36599398cdd2e33f7b3e4e49808..a9824dbc2e8763e6fff6f71db7a31cc4761cd245:/app/controllers/trace_controller.rb diff --git a/app/controllers/trace_controller.rb b/app/controllers/trace_controller.rb index 7b2314be3..05f97bf0d 100644 --- a/app/controllers/trace_controller.rb +++ b/app/controllers/trace_controller.rb @@ -30,9 +30,7 @@ class TraceController < ApplicationController if !display_name.blank? target_user = User.active.where(:display_name => display_name).first if target_user.nil? - @title = t'trace.no_such_user.title' - @not_found_user = display_name - render :action => 'no_such_user', :status => :not_found + render_unknown_user display_name return end end