]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/feature.html.erb
Fix rubocop warnings
[rails.git] / app / views / browse / feature.html.erb
index 37be312b1e86b0d38a9a3489389456bc1367a85c..cd333d3bfd1dbbcd1e301158274b40dfb7de3844 100644 (file)
@@ -1,6 +1,6 @@
-<% set_title(t("browse.#{@type}.title_html", :name => printable_name(@feature))) %>
+<% set_title(t("browse.#{@type}.title_html", :name => printable_element_name(@feature))) %>
 
-<%= render "sidebar_header", :title => t("browse.#{@type}.title_html", :name => printable_name(@feature)) %>
+<%= render "sidebar_header", :title => t("browse.#{@type}.title_html", :name => printable_element_name(@feature)) %>
 
 <%= render :partial => @type, :object => @feature %>