Sha256: 942e3189fb0c737df5f8eb438b2d7de3eb1b3d1e2e6875e4915d488591a1e350
Contents?: true
Size: 817 Bytes
Versions: 21
Compression:
Stored size: 817 Bytes
Contents
Rails.application.routes.draw do namespace :account do shallow do resource :two_factor, only: [:create, :destroy] # user-level onboarding tasks. namespace :onboarding do resources :user_details resources :user_email end # user specific resources. resources :users # team-level resources. resources :teams do resources :invitations do member do get :accept post :accept end end resources :memberships do member do post :demote post :promote post :reinvite end collection do get :search end end member do post :switch_to end end end end end
Version data entries
21 entries across 21 versions & 1 rubygems