Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (13 sloc) 258 Bytes
Phonebook::Application.routes.draw do
resources :people do
collection do
get :gettext
get :puttext
post :upsync
post :search
end
resources :phone_numbers
end
resources :phone_numbers
root :to => 'people#index'
end