Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

adding the proper redirect after login

  • Loading branch information...
commit 7f1cbce6d312db4843de6dacc2259b8ce7f67a74 1 parent 7e89138
erik authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/authenticated_system.rb
View
2  lib/authenticated_system.rb
@@ -97,7 +97,7 @@ def store_location(url = nil)
end
def store_purchase
- session[:return_to] = "https://#{APP_CONFIG[:default_host]}/purchase"
+ session[:return_to] = "https://#{APP_CONFIG[:default_host]}/purchase/#{params[:pitch_id]}"
cookies[:donation_total_amount] = params[:total_amount]
cookies[:donation_pitch_id] = params[:pitch_id]
end
Please sign in to comment.
Something went wrong with that request. Please try again.