summaryrefslogtreecommitdiff
path: root/engines/billing/app/controllers/payments_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'engines/billing/app/controllers/payments_controller.rb')
-rw-r--r--engines/billing/app/controllers/payments_controller.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/billing/app/controllers/payments_controller.rb b/engines/billing/app/controllers/payments_controller.rb
index 871f1b4..4f93aa6 100644
--- a/engines/billing/app/controllers/payments_controller.rb
+++ b/engines/billing/app/controllers/payments_controller.rb
@@ -1,6 +1,8 @@
class PaymentsController < BillingBaseController
before_filter :require_login, :only => [:index]
+ respond_to :html
+
def new
if current_user.has_payment_info?
@client_token = Braintree::ClientToken.generate(customer_id: current_user.braintree_customer_id)