Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deface override #13

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

cboyd-iseatz
Copy link

I created a Deface override to replace the Spree default form with the paypal form. This allows you to use the most up-to-date Spree edit view if you don't show the paypal form, instead of duplicating the entire edit view in this gem. The motivation for this was two fold:

  1. The edit view in this gem was outdated, as Spree had changed the edit view.
  2. This gem was hard-coding the /states.js javascript include in the edit view, and Spree had switched to using states_path instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants