diff options
author | claucece <soficeli0@gmail.com> | 2015-09-25 00:04:19 -0500 |
---|---|---|
committer | claucece <soficeli0@gmail.com> | 2015-10-05 22:41:20 -0500 |
commit | b26d10fe7d87b570bd888fa2a2543f3675278f8b (patch) | |
tree | 2b73a88026b78ef5f78a881ac7c0eac91d6632ac /engines/billing/app/controllers/payments_controller.rb | |
parent | 577c1f3e92040ab79fcd67b818c7dc8531aaa211 (diff) |
add subscriptions
Diffstat (limited to 'engines/billing/app/controllers/payments_controller.rb')
-rw-r--r-- | engines/billing/app/controllers/payments_controller.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/billing/app/controllers/payments_controller.rb b/engines/billing/app/controllers/payments_controller.rb index 4a047ad..871f1b4 100644 --- a/engines/billing/app/controllers/payments_controller.rb +++ b/engines/billing/app/controllers/payments_controller.rb @@ -21,9 +21,9 @@ class PaymentsController < BillingBaseController def confirm make_transaction if @result.success? - flash[:success] = "Congratulations! Your transaction has been successfully!" + flash[:success] = I18n.t(:donation_sucess) else - flash[:error] = "Something went wrong while processing your donation. Please try again!" + flash[:error] = I18n.t(:donation_not_sucess) end redirect_to action: :new, locale: params[:locale] end |