Sha256: 51793552a7eb23d9f28b76b04d3eec8be52c262cb7c2f5023de57ac56fa768e8

Contents?: true

Size: 348 Bytes

Versions: 3

Compression:

Stored size: 348 Bytes

Contents

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

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
token_authenticate_me-0.11.2 config/routes.rb
token_authenticate_me-0.11.1 config/routes.rb
token_authenticate_me-0.11.0 config/routes.rb