Sha256: f5fa933613f89bdbfdc259cd44412e230a660efc495c61c74b105f70c3d85b1e

Contents?: true

Size: 727 Bytes

Versions: 26

Compression:

Stored size: 727 Bytes

Contents

# Allows to render Alchemy content within Solidus' controller views
Spree::StoreController.include(
  Alchemy::ControllerActions,
  Alchemy::ConfigurationMethods
)

# Hook into SolidusAuthDevise controllers if present
if defined? Spree::Auth::Engine
  Spree::UserPasswordsController.include Alchemy::ControllerActions
  Spree::UserConfirmationsController.include Alchemy::ControllerActions
  Spree::UserRegistrationsController.include Alchemy::ControllerActions
  Spree::UserSessionsController.include Alchemy::ControllerActions
end

# Do not prefix element view partials with `spree` namespace.
# See https://github.com/AlchemyCMS/alchemy_cms/issues/1626
ActionView::Base.prefix_partial_path_with_controller_namespace = false

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
alchemy-solidus-3.2.0 lib/alchemy/solidus/alchemy_in_solidus.rb
alchemy-solidus-3.1.1 lib/alchemy/solidus/alchemy_in_solidus.rb
alchemy-solidus-3.1.0 lib/alchemy/solidus/alchemy_in_solidus.rb
alchemy-solidus-3.0.2 lib/alchemy/solidus/alchemy_in_solidus.rb
alchemy-solidus-3.0.1 lib/alchemy/solidus/alchemy_in_solidus.rb
alchemy-solidus-3.0.0 lib/alchemy/solidus/alchemy_in_solidus.rb