Sha256: a157ccd1a9c0b3fe49fa1a569b9303c9aba1afa525ec8a50d1dc35111179460b
Contents?: true
Size: 464 Bytes
Versions: 16
Compression:
Stored size: 464 Bytes
Contents
TypeStation.configure do |config| # config.authenticate_with = Proc.new do # request.env['warden'].try(:authenticate!) # end # config.authorise_with = Proc.new {} # config.current_user = Proc.new do # request.env["warden"].try(:user) || respond_to?(:current_user) && current_user # end config.authenticate_with = Proc.new do true end config.authorise_with = Proc.new { true } config.current_user = Proc.new do {} end end
Version data entries
16 entries across 16 versions & 1 rubygems