]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/diary_entry/no_such_entry.html.erb
Rename diary_entry#view to diary_entry#show
[rails.git] / app / views / diary_entry / no_such_entry.html.erb
index eef0e47d2d73b284b5343cd107ea7ca0f364035a..4fb5ca49d4739f768306414163b618cb34d8bc0e 100644 (file)
@@ -1,2 +1,5 @@
-<h2><%= t 'diary_entry.no_such_entry.heading', :id => h(params[:id]) %></h2>
-<p><%= t 'diary_entry.no_such_entry.body', :id => h(params[:id]) %></p>
+<% content_for :heading do %>
+  <h2><%= t '.heading', :id => h(params[:id]) %></h2>
+<% end %>
+
+<p><%= t '.body', :id => h(params[:id]) %></p>