Skip to content
This repository has been archived by the owner on Oct 16, 2018. It is now read-only.

Use the form action set by rails #59

Merged
merged 1 commit into from Dec 7, 2014

Conversation

jgautsch
Copy link
Contributor

@jgautsch jgautsch commented Dec 6, 2014

form.action is undefined, which results in the request POST'ing back to the current page (i.e. /subscriptions/new). $(form).attr('action') is the form action set by rails, and so will instead POST to the url set up in the rails form helper.

peterkeen added a commit that referenced this pull request Dec 7, 2014
Use the form action set by rails
@peterkeen peterkeen merged commit c5e39b8 into payolapayments:master Dec 7, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants