]> git.openstreetmap.org Git - rails.git/commitdiff
Sort the tags for the databrowser output.
authorThomas Wood <grand.edgemaster@gmail.com>
Mon, 4 May 2009 22:42:07 +0000 (22:42 +0000)
committerThomas Wood <grand.edgemaster@gmail.com>
Mon, 4 May 2009 22:42:07 +0000 (22:42 +0000)
app/views/browse/_tag_details.rhtml

index 6f82689c2cfb94311bcfc3cbe55e268df3e36413..ac407a7d73b4623b1d225620316d9884dd929c35 100644 (file)
@@ -1,10 +1,10 @@
-<% unless tag_details.tags_as_hash.empty? %>
+<% unless tag_details.tags.empty? %>
   <tr valign="top">
     <th>Tags:</th>
     <td>
       <table cellpadding="0">
-        <%= render :partial => "tag", :collection => tag_details.tags_as_hash %>
+        <%= render :partial => "tag", :collection => tag_details.tags.sort %>
       </table>
     </td>
-  </tr>      
+  </tr>
 <% end %>