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
# As always, I hope I didn't reinvent the wheel or do something stupid... If I have please let me know! | |
# | |
# I'm currently using this with async_sinatra; haven't tested it without (sorry!) | |
# | |
# Example method usage: | |
# | |
# before_filter [[:apost, "/users/?"] do | |
# require_login | |
# end |