Sha256: 79674b3bed1045fbbe46d07d297fb621bf18b6bc5ab90b89136f53254fcff7d6
Contents?: true
Size: 663 Bytes
Versions: 12
Compression:
Stored size: 663 Bytes
Contents
module Alchemy class PasswordsController < ::Devise::PasswordsController include Alchemy::Admin::Locale before_action { enforce_ssl if ssl_required? && !request.ssl? } helper 'Alchemy::Admin::Base' layout 'alchemy/admin' private # Override for Devise method def new_session_path(resource_name) alchemy.login_path end def edit_password_url(resource, options={}) alchemy.edit_password_url(options) end def after_resetting_password_path_for(resource) if can? :index, :alchemy_admin_dashboard alchemy.admin_dashboard_path else alchemy.root_path end end end end
Version data entries
12 entries across 12 versions & 1 rubygems