class ActionDispatch::Routing::Mapper

Protected Instance Methods

devise_passwords_with_policy(mapping, controllers) click to toggle source
# File lib/devise/secure_password/routes.rb, line 6
def devise_passwords_with_policy(mapping, controllers)
  resource :password_with_policy, only: %i(edit update), path: mapping.path_names[:change_password], controller: controllers[:passwords_with_policy]
end