stripe button requests mounted engine

This commit is contained in:
Rimian Perkins 2017-01-31 14:21:27 +11:00
parent 892736deff
commit df7607043a
3 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
module Choice
class ChoiceController < Choice::ApplicationController
def index
def create
head 200
end
end

View File

@ -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"

View File

@ -1,3 +1,3 @@
Choice::Engine.routes.draw do
get "about" => "choice#index"
get 'stripe' => 'choice#create'
end