Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (15 sloc) 416 Bytes
Nodenock::Application.routes.draw do
resources :calls do
post "dial_out", :on => :member
end
resource :phone do
match "verify(/:code)" => "phones#verify", :as => :verify
get "resend_code"
end
resource :user do
post "approve_friendship"
end
root :to => "users#show"
match "/auth/:provider/callback" => "sessions#create"
match "/signout" => "sessions#destroy", :as => :signout
end