diff --git a/app/controllers/payments_controller.rb b/app/controllers/payments_controller.rb index e5ef98d..20340a5 100644 --- a/app/controllers/payments_controller.rb +++ b/app/controllers/payments_controller.rb @@ -37,7 +37,6 @@ def create if @payment.save_with_payment redirect_to dashboard_url, :notice => "Thank you for Paying!" else - flash[:error] = "There was a problem with processing your card." render :action => 'new' end end diff --git a/app/views/users/_form.html.erb b/app/views/users/_form.html.erb index 1e7c477..f295efe 100644 --- a/app/views/users/_form.html.erb +++ b/app/views/users/_form.html.erb @@ -14,7 +14,9 @@ <%= f.label :role, :html => {:class => "control-label" } %>