]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/site/key.html.erb
Use Activerecord '#or' method for queries
[rails.git] / app / views / site / key.html.erb
index e43d2c29a3da5aa2d25d4fc007fbc51b46a6b22d..370ae3b645b3ee68e069f365a225f8ef302892cc 100644 (file)
@@ -7,7 +7,7 @@
             <%= image_tag "key/#{name}/#{entry['image']}" %>
           </td>
           <td class="mapkey-table-value">
             <%= image_tag "key/#{name}/#{entry['image']}" %>
           </td>
           <td class="mapkey-table-value">
-            <%= [*t(".table.entry.#{entry['name']}")].to_sentence %>
+            <%= Array(t(".table.entry.#{entry['name']}")).to_sentence %>
           </td>
         </tr>
       <% end %>
           </td>
         </tr>
       <% end %>