Sha256: 32e5a70eccf94e2686a304fbbc5f84b430b2306a86ae63c1b12645903d307e06

Contents?: true

Size: 543 Bytes

Versions: 2

Compression:

Stored size: 543 Bytes

Contents

resource :session, controller: 'authenticate/sessions', only: [:create, :new, :destroy]
  resources :passwords, controller: 'authenticate/passwords', only: [:new, :create]

  resource :users, controller: 'authenticate/users', only: [:new, :create] do
    resources :passwords, controller: 'authenticate/passwords', only: [:edit, :update]
  end

  get '/sign_up', to: 'authenticate/users#new', as: 'sign_up'
  get '/sign_in', to: 'authenticate/sessions#new', as: 'sign_in'
  get '/sign_out', to: 'authenticate/sessions#destroy', as: 'sign_out'

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
authenticate-0.2.1 lib/generators/authenticate/routes/templates/routes.rb
authenticate-0.2.0 lib/generators/authenticate/routes/templates/routes.rb