]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/trace_controller.rb
Replace htmlize call by rich text to_html call
[rails.git] / app / controllers / trace_controller.rb
index 7b2314be33c9db4b91906ececf8d5745768f128b..05f97bf0d507a667973fbf6405263af44d328c53 100644 (file)
@@ -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