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

Commit

Permalink
Rename frontend JS to paypal_button.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Luuk Veenis committed Nov 11, 2016
1 parent dd94daf commit 651baf9
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ class InstallGenerator < Rails::Generators::Base

def add_javascripts
append_file 'vendor/assets/javascripts/spree/frontend/all.js', "//= require spree/frontend/solidus_paypal_braintree\n"
append_file 'vendor/assets/javascripts/spree/frontend/all.js', "//= require spree/frontend/solidus_paypal_braintree_frontend\n"
append_file 'vendor/assets/javascripts/spree/frontend/all.js', "//= require spree/frontend/paypal_button\n"
append_file 'vendor/assets/javascripts/spree/backend/all.js', "//= require spree/backend/solidus_paypal_braintree\n"
end

Expand Down
2 changes: 1 addition & 1 deletion lib/solidus_paypal_braintree/engine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def self.frontend_available?
if frontend_available?
config.assets.precompile += [
'spree/frontend/solidus_paypal_braintree',
'spree/frontend/solidus_paypal_braintree_frontend'
'spree/frontend/paypal_button',
]
paths["app/controllers"] << "lib/controllers/frontend"
paths["app/views"] << "lib/views/frontend"
Expand Down

0 comments on commit 651baf9

Please sign in to comment.