Sha256: aea99f91754265e8bc04340cc8d47e64d05d1fd6a31b2d795f84786ddac0f472
Contents?: true
Size: 506 Bytes
Versions: 7
Compression:
Stored size: 506 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 Struct.new(:email).new("rich@madwire.co.uk") end end
Version data entries
7 entries across 7 versions & 1 rubygems