X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/4168e0963ee19e05c07b40d30e868fd652fd3757..449567e9a676321681cbb4f8c244502172e8c261:/app/views/browse/_common.rhtml?ds=sidebyside
diff --git a/app/views/browse/_common.rhtml b/app/views/browse/_common.rhtml
index ec590bda0..f237bfe15 100644
--- a/app/views/browse/_common.rhtml
+++ b/app/views/browse/_common.rhtml
@@ -5,8 +5,9 @@ Deleted
<% end %>
<% if obj.visible %>
-- <%= link_to h("API"), :controller => "api/#{API_VERSION}/"+type, :id => obj.id %>
+- <%= link_to h("API"), :controller => type, :action => "read", :id => obj.id %>
<% end %>
-- <%= link_to h("History"), :controller => "api/#{API_VERSION}/"+type, :id => obj.id, :action => "history" %>
+- <%= link_to h("History"), :controller => "old_" + type, :action => "history", :id => obj.id %>
+ (<%= link_to h("HTML"), :action => type+"_history", :id => obj.id %>)
<%= render :partial => 'common_editedby', :locals => { :obj => obj } %>