Skip to content

@daz4126 /gist:2983582
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
get '/discount' do
# discount logic goes here
flash.keep
flash[:info] = "A discount of 10% was applied to your order"
redirect to('/finish')
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.