File tree Expand file tree Collapse file tree 3 files changed +8
-1
lines changed
generators/solidus_paypal_commerce_platform/install
solidus_paypal_commerce_platform Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -69,3 +69,6 @@ Rails/Inquiry:
6969 Enabled : true
7070 Exclude :
7171 - spec/lib/solidus_paypal_commerce_platform/configuration_spec.rb
72+
73+ Layout/LineLength :
74+ Enabled : false
Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ def alert_no_classic_frontend_support
9292 private
9393
9494 def solidus_mount_point
95- mount_point = Spree ::Core ::Engine . routes . find_script_name ( { } )
95+ mount_point = :: Spree ::Core ::Engine . routes . find_script_name ( { } )
9696 mount_point += "/" unless mount_point . end_with? ( "/" )
9797 mount_point
9898 end
Original file line number Diff line number Diff line change @@ -14,6 +14,10 @@ class Engine < Rails::Engine
1414
1515 engine_name 'solidus_paypal_commerce_platform'
1616
17+ initializer "solidus_paypal_commerce_platform.zeitwerk_ignore_deface_overrides" , before : :eager_load! do |app |
18+ app . autoloaders . main . ignore ( root . join ( 'app/overrides' ) )
19+ end
20+
1721 initializer "solidus_paypal_commerce_platform.add_payment_method" , after : "spree.register.payment_methods" do |app |
1822 app . config . to_prepare do
1923 app . config . spree . payment_methods << SolidusPaypalCommercePlatform ::PaymentMethod
You can’t perform that action at this time.
0 commit comments