]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/message/no_such_message.html.erb
Test for the map argument correctly
[rails.git] / app / views / message / no_such_message.html.erb
index 6fd52124a40ccd2300c741b998aca87676b3da34..9bf6ddbea85d2fc281baab1a253cdc367be4b508 100644 (file)
@@ -1,2 +1,5 @@
-<h1><%= t'message.no_such_message.heading' %></h1>
+<% content_for :heading do %>
+  <h1><%= t'message.no_such_message.heading' %></h1>
+<% end %>
+
 <p><%= t'message.no_such_message.body' %></p>