From: Tom Hughes Date: Fri, 3 Sep 2010 16:25:06 +0000 (+0100) Subject: Use symbols consistently for names of content blocks X-Git-Tag: live~6171 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/7901815718df724958198a9f471902ab63263932?ds=sidebyside Use symbols consistently for names of content blocks --- diff --git a/app/views/site/_search.html.erb b/app/views/site/_search.html.erb index 2c914d14c..dcb7301d9 100644 --- a/app/views/site/_search.html.erb +++ b/app/views/site/_search.html.erb @@ -68,7 +68,7 @@ // --> -<% content_for "optionals" do %> +<% content_for :optionals do %>
<%= t 'site.search.where_am_i' %>

<%= t 'site.search.search' %>

diff --git a/app/views/trace/_trace_optionals.html.erb b/app/views/trace/_trace_optionals.html.erb index 69eedd143..d541c985b 100644 --- a/app/views/trace/_trace_optionals.html.erb +++ b/app/views/trace/_trace_optionals.html.erb @@ -1,4 +1,4 @@ -<% content_for "optionals" do %> +<% content_for :optionals do %>

<%= t'trace.trace_optionals.tags' %>