]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/notes_controller.rb
Merge remote-tracking branch 'upstream/pull/2010'
[rails.git] / app / controllers / notes_controller.rb
index 19ff725dc992aa924605fc841a8a215bc34f5bff..fc7a9e3c758ac17ca6c20cfdb4d60f08d54e452d 100644 (file)
@@ -289,10 +289,10 @@ class NotesController < ApplicationController
         @notes = @notes.visible unless current_user&.moderator?
         @notes = @notes.order("updated_at DESC, id").distinct.offset((@page - 1) * @page_size).limit(@page_size).preload(:comments => :author).to_a
       else
-        @title = t "user.no_such_user.title"
+        @title = t "users.no_such_user.title"
         @not_found_user = params[:display_name]
 
-        render :template => "user/no_such_user", :status => :not_found
+        render :template => "users/no_such_user", :status => :not_found
       end
     end
   end