Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @response.location = case @request.cookies["_shorebank_homepage"]
- when "business"
- "/business"
- when "commercial"
- "/commercial"
- when "nonprofit"
- "/nonprofit"
- when "faithbased"
- "/faithbased"
- when "realestate"
- "/realestate"
- when "shorebankdirect"
- "/shorebankdirect"
- else # default, if no cookies set, invalid cookie set, or 'personal' set.
- "/personal"
- end
Add Comment
Please, Sign In to add comment