X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/2fabbed1894b7b04860665a78b814469fa2fce3e..df07980b154b7c36052acde25776ead361a7a6b0:/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