Sha256: ef02dccd56c8e261b4746ff59aac57c6f133f4d7d9f112323178fb498166805f
Contents?: true
Size: 298 Bytes
Versions: 18
Compression:
Stored size: 298 Bytes
Contents
require 'clearance' require 'rails' module Clearance class Engine < Rails::Engine initializer 'clearance.filter' do |app| app.config.filter_parameters += [:password, :token] end config.app_middleware.insert_after ActionDispatch::ParamsParser, Clearance::RackSession end end
Version data entries
18 entries across 18 versions & 1 rubygems