]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/site/_about_section.html.erb
Use Activerecord '#or' method for queries
[rails.git] / app / views / site / _about_section.html.erb
index ead28f9fd87186f46fa7b59884b352cedf94ecc7..60fd3f0690987d8bfd325762f1ae429918f4680c 100644 (file)
@@ -1,7 +1,7 @@
 <%= tag.div :class => "section", :id => local_assigns[:id] do %>
   <div class='d-flex align-items-center gap-2 mb-2'>
     <div class='flex-shrink-0 icon <%= icon %>'></div>
-    <h2 class='flex-grow-1 mb-0'><%= t "site.about.#{title}_title", :locale => @locale %></h2>
+    <h2 class='flex-grow-1 mb-0'><%= t "site.about.#{title}_title" %></h2>
   </div>
   <%= yield %>
 <% end %>