a guest Sep 24th, 2018 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- app = Presto::App.new
- app.mount SliceName do
- http.before do
- unless http.action == :login
- http.redirect http.route(:login) unless http.user
RAW Paste Data