Sha256: 9966bf450838fef57016aa034346d2aceacf799394b742322ccc4e8214d661d1
Contents?: true
Size: 616 Bytes
Versions: 3
Compression:
Stored size: 616 Bytes
Contents
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
3 entries across 3 versions & 2 rubygems
Version | Path |
---|---|
devise-security-0.11.1 | lib/devise-security/routes.rb |
devise-security-0.11.0 | lib/devise-security/routes.rb |
devise_security_extension-0.10.0 | lib/devise_security_extension/routes.rb |