stripe button requests mounted engine
This commit is contained in:
parent
892736deff
commit
df7607043a
|
@ -1,6 +1,6 @@
|
|||
module Choice
|
||||
class ChoiceController < Choice::ApplicationController
|
||||
def index
|
||||
def create
|
||||
head 200
|
||||
end
|
||||
end
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
|
||||
|
||||
<form action="https://staging.join.choice.community/consumer-defender">
|
||||
<form action="/choice/stripe">
|
||||
<script
|
||||
src="https://checkout.stripe.com/checkout.js" class="stripe-button"
|
||||
data-key="pk_test_b8RmhzlL8QPizJRqOrKF3JEV"
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Choice::Engine.routes.draw do
|
||||
get "about" => "choice#index"
|
||||
get 'stripe' => 'choice#create'
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue