I hereby claim:
- I am jonbarlo on github.
- I am jonbarlo (https://keybase.io/jonbarlo) on keybase.
- I have a public key ASC_vbhtlGrA5EPffXkesYC6954sUvP-9p223JyAQdDGDAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
source 'https://rubygems.org' | |
#gems by groups, env |
Warden::Manager.serialize_into_session{|user| user.id } | |
Warden::Manager.serialize_from_session{|id| User.get(id) } | |
Warden::Manager.before_failure do |env,opts| | |
# Sinatra is very sensitive to the request method | |
# since authentication could fail on any type of method, we need | |
# to set it for the failure app so it is routed to the correct block | |
env['REQUEST_METHOD'] = "POST" | |
end | |
I saw this one http://codepen.io/Oka/pen/RNKeEp and wanted to try it without the rotation!
Forked from Brandel Zachernuk's Pen Teardrop toggle.
A Pen by Captain Anonymous on CodePen.