vereto-api/config/routes.rb
2018-02-16 15:02:03 +00:00

9 lines
280 B
Ruby

Rails.application.routes.draw do
# For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
resources :todos do
resources :items
end
post 'auth/login', to: 'authentication#authenticate'
post 'signup', to: 'users#create'
end