X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/2fabbed1894b7b04860665a78b814469fa2fce3e..901d77837b9c1a432c158f1ed5f9a90bf71b8588:/app/controllers/diary_entry_controller.rb diff --git a/app/controllers/diary_entry_controller.rb b/app/controllers/diary_entry_controller.rb index 947187227..7a442ac58 100644 --- a/app/controllers/diary_entry_controller.rb +++ b/app/controllers/diary_entry_controller.rb @@ -131,6 +131,7 @@ class DiaryEntryController < ApplicationController if @entry @title = t 'diary_entry.view.title', :user => params[:display_name] else + @title = t 'diary_entry.no_such_entry.title', :id => params[:id] render :action => 'no_such_entry', :status => :not_found end else