Sha256: b82cce4fcba29876fd122b801914e559ef331ff2aa569852254193a7e1c22fc4
Contents?: true
Size: 757 Bytes
Versions: 10
Compression:
Stored size: 757 Bytes
Contents
module Nyauth module Route def initialize(*args) super(*args) nyauth_concerns end def nyauth_concerns concern :nyauth_registrable do resource :registration, only: %i(new create) end concern :nyauth_authenticatable do resource :session, only: %i(new create destroy) resource :password, only: %i(edit update) resources :reset_password_requests, only: %i(new create) resources :reset_passwords, param: :reset_password_key, only: %i(edit update) end concern :nyauth_confirmable do resources :confirmation_requests, only: %i(new create) get '/confirmations/:confirmation_key' => 'confirmations#update', as: :confirmation end end end end
Version data entries
10 entries across 10 versions & 1 rubygems