Skip to content
This repository has been archived by the owner on Apr 14, 2023. It is now read-only.

Commit

Permalink
Remove remaining frontend dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Rtwena committed Jun 17, 2021
1 parent ca2fb04 commit 9b85a10
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ def self.prepended(base)
base.helper ::SolidusPaypalBraintree::BraintreeCheckoutHelper
end

::Spree::CheckoutController.prepend(self)
::Spree::CheckoutController.prepend(self) if SolidusSupport.frontend_available?
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ def self.prepended(base)
base.helper ::SolidusPaypalBraintree::BraintreeCheckoutHelper
end

::Spree::OrdersController.prepend(self)
::Spree::OrdersController.prepend(self) if SolidusSupport.frontend_available?
end
end

0 comments on commit 9b85a10

Please sign in to comment.