mirror of https://github.com/fspc/BikeShed-1.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
428 B
17 lines
428 B
Velocipede::Application.routes.draw do
|
|
|
|
devise_for :users
|
|
netzke
|
|
|
|
root :to => 'site#index'
|
|
###########################
|
|
# API Routes
|
|
scope 'api', :module => :api do
|
|
scope 'v1', :module => :v1 do
|
|
post 'checkin' => "logs#checkin", :as => "api_checkin"
|
|
post 'checkout' => "logs#checkout", :as => "api_checkout"
|
|
post 'reset' => "users#password_reset", :as => "api_password_reset"
|
|
end
|
|
end
|
|
|
|
end
|
|
|