Sha256: 73919a339be3c32462591a9de3eaf398314673871df1dfafaedf2639718ec257
Contents?: true
Size: 681 Bytes
Versions: 7
Compression:
Stored size: 681 Bytes
Contents
module Nyauth module Route 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
7 entries across 7 versions & 1 rubygems