Sha256: ca87489783f28c35d35d40147d20c64e4f813c4d497eff646a35e50e3b5f284d

Contents?: true

Size: 341 Bytes

Versions: 8

Compression:

Stored size: 341 Bytes

Contents

Rails.application.routes.draw do
  scope "(:locale)", locale: /#{I18n.available_locales.join("|")}/ do
    get 'signup', to: 'users#new', as: 'signup'
    get 'login', to: 'sessions#new', as: 'login'
    get 'logout', to: 'sessions#destroy', as: 'logout'

    resources :users
    resources :sessions
    resources :password_resets
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
tkh_authentication-0.0.8 config/routes.rb
tkh_authentication-0.0.7 config/routes.rb
tkh_authentication-0.0.6 config/routes.rb
tkh_authentication-0.0.5 config/routes.rb
tkh_authentication-0.0.4 config/routes.rb
tkh_authentication-0.0.3 config/routes.rb
tkh_authentication-0.0.2 config/routes.rb
tkh_authentication-0.0.1 config/routes.rb