module Sinatra::SessionHelpers
Constants
- VERSION
Public Class Methods
registered(app)
click to toggle source
# File lib/sinatra/session_helpers.rb, line 33 def self.registered(app) app.helpers SessionHelpers::Helpers # This should be set to the redirect URL the client will be sent to if the session is not valid. app.set :session_fail, '/login' end