Created
June 24, 2012 15:02
-
-
Save daz-codes/2983578 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
get '/discount' do | |
# discount logic goes here | |
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