diff options
author | jessib <jessib@leap.se> | 2013-05-02 10:53:42 -0700 |
---|---|---|
committer | Azul <azul@leap.se> | 2013-07-17 10:47:13 +0200 |
commit | fe0ac266a797523492fe3b2c750e7862f51b152f (patch) | |
tree | cf83a73fd7e6f1361a088ee080db281445c26f64 /billing/app/controllers/customers_controller.rb | |
parent | 7eab7e33730e12eeb460d2b3965a8712320aff54 (diff) |
Added notices to redirects.
Diffstat (limited to 'billing/app/controllers/customers_controller.rb')
-rw-r--r-- | billing/app/controllers/customers_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/billing/app/controllers/customers_controller.rb b/billing/app/controllers/customers_controller.rb index e62472f..3479448 100644 --- a/billing/app/controllers/customers_controller.rb +++ b/billing/app/controllers/customers_controller.rb @@ -16,7 +16,7 @@ class CustomersController < BillingBaseController def new if customer = Customer.find_by_user_id(current_user.id) - redirect_to edit_customer_path(customer.braintree_customer_id) + redirect_to edit_customer_path(customer.braintree_customer_id), :notice => 'Here is your saved customer data' else @tr_data = Braintree::TransparentRedirect. create_customer_data(:redirect_url => confirm_customer_url) |