Move changeset show action to changesets controller
This commit is contained in:
parent
d23763d6cd
commit
c1b5ae0aa0
13 changed files with 120 additions and 114 deletions
|
@ -118,7 +118,7 @@ OpenStreetMap::Application.routes.draw do
|
|||
get "/relation/:id" => "browse#relation", :id => /\d+/, :as => :relation
|
||||
get "/relation/:id/history" => "browse#relation_history", :id => /\d+/, :as => :relation_history
|
||||
resources :old_relations, :path => "/relation/:id/history", :id => /\d+/, :version => /\d+/, :param => :version, :only => :show
|
||||
get "/changeset/:id" => "browse#changeset", :as => :changeset, :id => /\d+/
|
||||
resources :changesets, :path => "changeset", :id => /\d+/, :only => :show
|
||||
get "/changeset/:id/comments/feed" => "changeset_comments#index", :as => :changeset_comments_feed, :id => /\d*/, :defaults => { :format => "rss" }
|
||||
resources :notes, :path => "note", :only => [:show, :new]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue