X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/2160f820ac9fe3f78deb97a3a4285e9bf8daa095..1285bcbd712044720c15e2de2e6bacaf4b0b0a92:/app/controllers/notes_controller.rb diff --git a/app/controllers/notes_controller.rb b/app/controllers/notes_controller.rb index b1dd6d162..853072b7b 100644 --- a/app/controllers/notes_controller.rb +++ b/app/controllers/notes_controller.rb @@ -280,9 +280,9 @@ class NotesController < ApplicationController if params[:display_name] if @user = User.active.find_by(:display_name => params[:display_name]) @params = params.permit(:display_name) - @title = t "note.mine.title", :user => @user.display_name - @heading = t "note.mine.heading", :user => @user.display_name - @description = t "note.mine.subheading", :user => render_to_string(:partial => "user", :object => @user) + @title = t "notes.mine.title", :user => @user.display_name + @heading = t "notes.mine.heading", :user => @user.display_name + @description = t "notes.mine.subheading", :user => render_to_string(:partial => "user", :object => @user) @page = (params[:page] || 1).to_i @page_size = 10 @notes = @user.notes