API de comptabilité horaire.
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.

routes.rb 276B

123456789101112
  1. Rails.application.routes.draw do
  2. namespace :api, defaults: { format: :json } do
  3. namespace :v1 do
  4. resources :users
  5. resources :tokens, only: %i[create]
  6. resources :activities do
  7. resources :tasks
  8. end
  9. resources :tasks
  10. end
  11. end
  12. end