mirror of
https://github.com/fspc/BikeShed-1.git
synced 2025-04-04 05:33:22 -04:00
17 lines
354 B
Ruby
17 lines
354 B
Ruby
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"
|
|
end
|
|
end
|
|
|
|
end
|