Sha256: 6dfd9261980db46d711b6bbaf455536617bbab444d09491ab22d11d43f9e2258

Contents?: true

Size: 436 Bytes

Versions: 1

Compression:

Stored size: 436 Bytes

Contents

module Gemgento
  class User::PasswordsController < Devise::PasswordsController

    protected

    # The path used after sending reset password instructions
    def after_sending_reset_password_instructions_path_for(resource_name)
      if is_navigational_format?
        if Config[:combined_shipping_payment]
          user_new_login_path
        else
          new_session_path(resource_name)
        end
      end
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gemgento-2.8.0 app/controllers/gemgento/user/passwords_controller.rb