]> git.openstreetmap.org Git - rails.git/blobdiff - config/routes.rb
Add changeset comment search api with filtering by author and time
[rails.git] / config / routes.rb
index 3971494aa155d1851cb63164283ee124d4bd54ec..0a6ab0356f855e4fe3190fc808f619fca53693a6 100644 (file)
@@ -38,6 +38,8 @@ OpenStreetMap::Application.routes.draw do
   end
 
   namespace :api, :path => "api/0.6" do
+    resources :changeset_comments, :only => :index
+
     resources :nodes, :only => [:index, :create]
     resources :nodes, :path => "node", :id => /\d+/, :only => [:show, :update, :destroy] do
       scope :module => :nodes do