post "close"
post "reopen"
end
+
+ resource :subscription, :only => [:create, :destroy], :controller => "note_subscriptions"
end
resources :user_blocks, :only => :show, :id => /\d+/, :controller => "user_blocks"
match "/user/:display_name/remove_friend" => "friendships#remove_friend", :via => [:get, :post], :as => "remove_friend"
# user lists
- match "/users" => "users#index", :via => [:get, :post]
- match "/users/:status" => "users#index", :via => [:get, :post]
+ namespace :users do
+ resource :list, :path => "(:status)", :only => [:show, :update]
+ end
# geocoder
get "/search" => "geocoder#search"