]> git.openstreetmap.org Git - rails.git/commitdiff
Fix warnings.
authorTom Hughes <tom@compton.nu>
Sun, 31 May 2009 12:06:57 +0000 (12:06 +0000)
committerTom Hughes <tom@compton.nu>
Sun, 31 May 2009 12:06:57 +0000 (12:06 +0000)
app/views/browse/node.rhtml
app/views/browse/node_history.rhtml

index 035598e550f7a84fc66c8210ef3c0ec650e4650e..19aeb7dcafbe6da89dfec232f7d5219870c5e9ed 100644 (file)
@@ -15,8 +15,8 @@
     <td>
       <%= render :partial => "node_details", :object => @node %>
       <hr />
     <td>
       <%= render :partial => "node_details", :object => @node %>
       <hr />
-      <%= t'browse.node.download', :download_xml_link => link_to (t('browse.node.download_xml'), :controller => "node", :action => "read"),
-                                   :view_history_link => link_to (t('browse.node.view_history'), :action => "node_history") %>
+      <%= t'browse.node.download', :download_xml_link => link_to(t('browse.node.download_xml'), :controller => "node", :action => "read"),
+                                   :view_history_link => link_to(t('browse.node.view_history'), :action => "node_history") %>
     </td>
     <%= render :partial => "map", :object => @node %>
   </tr>
     </td>
     <%= render :partial => "map", :object => @node %>
   </tr>
index ea96c091fb7bbf1b10fa882bee543e3c7ee003b2..4a34e345231ca2fd02ade4b55e2b95ea5cfbb075 100644 (file)
@@ -11,8 +11,8 @@
         <%= render :partial => "node_details", :object => node %>
         <hr />
       <% end %>
         <%= render :partial => "node_details", :object => node %>
         <hr />
       <% end %>
-      <%= t 'browse.node_history.download', :download_xml_link => link_to (t'browse.node_history.download_xml', :controller => "old_node", :action => "history"),
-                                            :view_details_link => link_to (t'browse.node_history.view_details', :action => "node") %>
+      <%= t 'browse.node_history.download', :download_xml_link => link_to(t('browse.node_history.download_xml'), :controller => "old_node", :action => "history"),
+                                            :view_details_link => link_to(t('browse.node_history.view_details'), :action => "node") %>
     </td>
     <%= render :partial => "map", :object => @node %>
   </tr>
     </td>
     <%= render :partial => "map", :object => @node %>
   </tr>