Sha256: 22eef501a3253a31a3191829ff358124a500c61e645a3cdb584d790c7c4afab7
Contents?: true
Size: 628 Bytes
Versions: 9
Compression:
Stored size: 628 Bytes
Contents
# frozen_string_literal: true module ActionDispatch::Routing class Mapper protected # route for handle expired passwords def devise_password_expired(mapping, controllers) resource :password_expired, only: [:show, :update], path: mapping.path_names[:password_expired], controller: controllers[:password_expired] end # route for handle paranoid verification def devise_verification_code(mapping, controllers) resource :paranoid_verification_code, only: [:show, :update], path: mapping.path_names[:verification_code], controller: controllers[:paranoid_verification_code] end end end
Version data entries
9 entries across 9 versions & 1 rubygems