]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/_tag_details.html.erb
Add note creation to the sidebar
[rails.git] / app / views / browse / _tag_details.html.erb
index cd087bc7feba1c03b7869ba2b73b90c0ed45ae12..eaf98b57b26db67d22c720b17d2367c802772d93 100644 (file)
@@ -1,8 +1,8 @@
-<% unless tag_details.tags.empty? %>
+<% unless tag_details.empty? %>
   <div class='browse-section'>
     <h4><%= t'browse.tag_details.tags' %></h4>
     <ul class='browse-tag-list'>
-      <%= render :partial => "tag", :collection => tag_details.tags.sort %>
+      <%= render :partial => "tag", :collection => tag_details.sort %>
     </ul>
   </div>
 <% end %>