X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/4c9ec6a60cbd973ab637123a71894c4c97e8965f..e0b175d3bd3ef655a20273dc2b7f04a8a34bb5f6:/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