X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/533816a3c2b373dbf1ea67c7071890ee27e18aa9..a90302aecf579ca29fa5ea0b1e9d03f81b8bbde4:/app/views/browse/feature.html.erb?ds=sidebyside diff --git a/app/views/browse/feature.html.erb b/app/views/browse/feature.html.erb index 9ee9f807f..29f911f79 100644 --- a/app/views/browse/feature.html.erb +++ b/app/views/browse/feature.html.erb @@ -2,7 +2,7 @@ <%= render "sidebar_header", :title => t("browse.#{@type}.title_html", :name => printable_element_name(@feature)) %> -<%= render :partial => @type, :object => @feature %> +<%= render :partial => "browse/#{@type}", :object => @feature %> <% if @feature.visible? %>
@@ -17,10 +17,10 @@ <% end %> · <% end %> - <%= link_to t("browse.view_history"), :action => "#{@type}_history" %> + <%= link_to t("browse.view_history"), :controller => "old_#{@type.pluralize}" %> <% if current_user&.moderator? %> · - <%= link_to(t("browse.view_unredacted_history"), :action => "#{@type}_history", :params => { :show_redactions => true }) %> + <%= link_to(t("browse.view_unredacted_history"), :controller => "old_#{@type.pluralize}", :params => { :show_redactions => true }) %> <% end %> <% if @feature.version > 1 %> ·