Skip to content

Commit

Permalink
Merge pull request #53 from tvdeyen/disable-partial-path-prefixing
Browse files Browse the repository at this point in the history
Disable ActionView partial path prefixing
  • Loading branch information
tvdeyen authored Dec 13, 2019
2 parents 4f6d094 + fcbef51 commit b162851
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/alchemy/solidus/alchemy_in_solidus.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,7 @@
Spree::UserSessionsController.include Alchemy::ControllerActions
end
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

0 comments on commit b162851

Please sign in to comment.