Sha256: 5be9ad406323ab47d1a4046bbd7bab388dcf3cdaddcec0af3a8cbe81a812f8a2

Contents?: true

Size: 556 Bytes

Versions: 14

Compression:

Stored size: 556 Bytes

Contents

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

  resource :<%= @user_model %>, 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

14 entries across 14 versions & 1 rubygems

Version Path
authenticate-0.7.3 lib/generators/authenticate/routes/templates/routes.rb
authenticate-0.7.2 lib/generators/authenticate/routes/templates/routes.rb
authenticate-0.7.1 lib/generators/authenticate/routes/templates/routes.rb
authenticate-0.7.0 lib/generators/authenticate/routes/templates/routes.rb
authenticate-0.6.1 lib/generators/authenticate/routes/templates/routes.rb
authenticate-0.6.0 lib/generators/authenticate/routes/templates/routes.rb
authenticate-0.5.0 lib/generators/authenticate/routes/templates/routes.rb
authenticate-0.4.0 lib/generators/authenticate/routes/templates/routes.rb
authenticate-0.3.3 lib/generators/authenticate/routes/templates/routes.rb
authenticate-0.3.2 lib/generators/authenticate/routes/templates/routes.rb
authenticate-0.3.1 lib/generators/authenticate/routes/templates/routes.rb
authenticate-0.3.0 lib/generators/authenticate/routes/templates/routes.rb
authenticate-0.2.3 lib/generators/authenticate/routes/templates/routes.rb
authenticate-0.2.2 lib/generators/authenticate/routes/templates/routes.rb