X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/d2688d4d632c32458e6efa053cf4f2b98ff188dc..ad4ab4603b27f2e89e4bb4a709bc04a6685ba67b:/config/routes.rb?ds=inline diff --git a/config/routes.rb b/config/routes.rb index d1e4c74ae..8271e7e4d 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -122,7 +122,7 @@ OpenStreetMap::Application.routes.draw do match :subscribe, :unsubscribe, :on => :member, :via => [:get, :post] end get "/changeset/:id/comments/feed" => "changeset_comments#index", :as => :changeset_comments_feed, :id => /\d*/, :defaults => { :format => "rss" } - resources :notes, :path => "note", :only => [:show, :new] + resources :notes, :path => "note", :id => /\d+/, :only => [:show, :new] get "/user/:display_name/history" => "changesets#index" get "/user/:display_name/history/feed" => "changesets#feed", :defaults => { :format => :atom }