Sha256: 13a716e9f0f537f3daf64f0545f31adc8ca77e919651b6e610dab97318b07c08

Contents?: true

Size: 483 Bytes

Versions: 13

Compression:

Stored size: 483 Bytes

Contents

TokenAuthenticateMe::Engine.routes.draw do
  namespace :api do
    namespace :v1 do
      resource :session, only: [:create, :show, :destroy]
      resources :users

      resources :invites, except: [:update] do
        member do
          get 'accept'
          get 'decline'
        end
      end

      resources(
        :password_resets,
        only: [:create, :update],
        constraints: {
          id: TokenAuthenticateMe::UUID_REGEX
        }
      )
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
token_authenticate_me-0.9.2 config/routes.rb
token_authenticate_me-0.10.0 config/routes.rb
token_authenticate_me-0.9.1 config/routes.rb
token_authenticate_me-0.9.0 config/routes.rb
token_authenticate_me-0.8.0 config/routes.rb
token_authenticate_me-0.7.0 config/routes.rb
token_authenticate_me-0.6.0 config/routes.rb
token_authenticate_me-0.5.7 config/routes.rb
token_authenticate_me-0.5.6 config/routes.rb
token_authenticate_me-0.5.5 config/routes.rb
token_authenticate_me-0.5.4 config/routes.rb
token_authenticate_me-0.5.3 config/routes.rb
token_authenticate_me-0.5.2 config/routes.rb