]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/trace_controller.rb
Added & cleaned up messages relating to a given user not existing
[rails.git] / app / controllers / trace_controller.rb
index 0248ad7cd4874d7c9cd294ccf4c73fe31fea6c1a..c05145a7eb8c20cebd389481d253c3a6b843cb2b 100644 (file)
@@ -18,6 +18,7 @@ class TraceController < ApplicationController
     if target_user.nil? and !display_name.blank?
       target_user = User.find(:first, :conditions => [ "visible = ? and display_name = ?", true, display_name])
       if target_user.nil?
+        @title = t'trace.no_such_user.title'
         @not_found_user = display_name
         render :action => 'no_such_user', :status => :not_found
         return