]> git.openstreetmap.org Git - rails.git/commitdiff
Use symbols consistently for names of content blocks
authorTom Hughes <tom@compton.nu>
Fri, 3 Sep 2010 16:25:06 +0000 (17:25 +0100)
committerTom Hughes <tom@compton.nu>
Mon, 14 Nov 2011 09:42:43 +0000 (09:42 +0000)
app/views/site/_search.html.erb
app/views/trace/_trace_optionals.html.erb

index 2c914d14ced6a1138492f3e52909b0106817c2a1..dcb7301d9cc9a19760e2994674cf531dfe085789 100644 (file)
@@ -68,7 +68,7 @@
 // -->
 </script>
 
-<% content_for "optionals" do %>
+<% content_for :optionals do %>
   <div class="optionalbox">
     <span class="whereami"><a href="javascript:describeLocation()" title="<%= t 'site.search.where_am_i_title' %>"><%= t 'site.search.where_am_i' %></a></span>
     <h1><%= t 'site.search.search' %></h1>
index 69eedd143e1a7876578a7562c938dbac39face34..d541c985b9fac35e19ca0bf34e6de043c44df72e 100644 (file)
@@ -1,4 +1,4 @@
-<% content_for "optionals" do %>
+<% content_for :optionals do %>
   <div class="optionalbox">
     <h1><%= t'trace.trace_optionals.tags' %></h1>
     <br />