]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/diary_entry_controller.rb
Merge -r 20198:20540 from trunc into openstreetbugs branch
[rails.git] / app / controllers / diary_entry_controller.rb
index 735c51dcd95931c57197e801d8afe2f2554f6122..6c7c9658bd6cd73d508b14bc80ee7256fc9fb1ca 100644 (file)
@@ -166,7 +166,7 @@ class DiaryEntryController < ApplicationController
                                  :visible => true
                                })
       if @entry
-        @title = t 'diary_entry.view.title', :user => params[:display_name]
+        @title = t 'diary_entry.view.title', :user => params[:display_name], :title => @entry.title
       else
         @title = t 'diary_entry.no_such_entry.title', :id => params[:id]
         render :action => 'no_such_entry', :status => :not_found