Move node/way/relation/old_* controllers into the api namespace
This commit is contained in:
parent
9186a6155c
commit
b38343e5bd
30 changed files with 3932 additions and 3906 deletions
|
@ -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) %>
|
||||
·
|
||||
<%= link_to(t('browse.view_history'), :action => "#{@type}_history") %>
|
||||
</div>
|
||||
|
|
|
@ -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") %>
|
||||
·
|
||||
<%= link_to(t('browse.view_details'), :action => @type) %>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue