X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/4168e0963ee19e05c07b40d30e868fd652fd3757..88105d9c643519e02082ba9cc5044bb0dfdcb7b9:/app/views/browse/_common.rhtml
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 } %>