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.

12345678910111213141516
  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 :teams do
  7. resources :memberships
  8. end
  9. resources :memberships, only: %i[index]
  10. resources :activities do
  11. resources :tasks
  12. end
  13. resources :tasks, only: %i[index]
  14. end
  15. end
  16. end