Move node/way/relation/old_* controllers into the api namespace

This commit is contained in:
Andy Allan 2019-02-24 13:37:03 +01:00
parent 9186a6155c
commit b38343e5bd
30 changed files with 3932 additions and 3906 deletions

View file

@ -8,7 +8,7 @@
<%= render :partial => @type, :object => @feature %>
<div class='secondary-actions'>
<%= link_to(t('browse.download_xml'), :controller => @type.pluralize, :action => :show) %>
<%= link_to(t('browse.download_xml'), :controller => "api/#{@type.pluralize}", :action => :show) %>
&middot;
<%= link_to(t('browse.view_history'), :action => "#{@type}_history") %>
</div>

View file

@ -8,7 +8,7 @@
<%= render :partial => @type, :collection => @feature.send("old_#{@type}s").reverse %>
<div class='secondary-actions'>
<%= link_to(t('browse.download_xml'), :controller => "old_#{@type.pluralize}", :action => "history") %>
<%= link_to(t('browse.download_xml'), :controller => "api/old_#{@type.pluralize}", :action => "history") %>
&middot;
<%= link_to(t('browse.view_details'), :action => @type) %>
</div>