Sha256: 797b7b3b19b9d6a88f29cbfe7f7c050d2eae50f79fcddc3f7ea5ceebcdbc292f

Contents?: true

Size: 552 Bytes

Versions: 13

Compression:

Stored size: 552 Bytes

Contents

class Spree::UserConfirmationsController < Devise::ConfirmationsController
  helper 'spree/base', 'spree/store'

  if Spree::Auth::Engine.dash_available?
    helper 'spree/analytics'
  end

  include Spree::Core::ControllerHelpers::Auth
  include Spree::Core::ControllerHelpers::Common
  include Spree::Core::ControllerHelpers::Order
  include Spree::Core::ControllerHelpers::Store

  protected

  def after_confirmation_path_for(resource_name, resource)
    signed_in?(resource_name) ? spree.signed_in_root_path(resource) : spree.login_path
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
solidus_auth_devise-1.6.4 lib/controllers/frontend/spree/user_confirmations_controller.rb
solidus_auth_devise-1.6.3 lib/controllers/frontend/spree/user_confirmations_controller.rb
solidus_auth_devise-1.6.2 lib/controllers/frontend/spree/user_confirmations_controller.rb
solidus_auth_devise-1.6.1 lib/controllers/frontend/spree/user_confirmations_controller.rb
solidus_auth_devise-1.6.0 lib/controllers/frontend/spree/user_confirmations_controller.rb
solidus_auth_devise-1.5.0 lib/controllers/frontend/spree/user_confirmations_controller.rb
solidus_auth_devise-1.4.0 lib/controllers/frontend/spree/user_confirmations_controller.rb
solidus_auth_devise-1.3.0 lib/controllers/frontend/spree/user_confirmations_controller.rb
solidus_auth_devise-1.2.3 lib/controllers/frontend/spree/user_confirmations_controller.rb
solidus_auth_devise-1.2.2 lib/controllers/frontend/spree/user_confirmations_controller.rb
solidus_auth_devise-1.2.1 lib/controllers/frontend/spree/user_confirmations_controller.rb
solidus_auth_devise-1.2.0 lib/controllers/frontend/spree/user_confirmations_controller.rb
solidus_auth_devise-1.1.0 lib/controllers/frontend/spree/user_confirmations_controller.rb