Sha256: cc65ca93856ad1f20b05b9af91c72e026257f37209dcea5718d76ada98b671f3

Contents?: true

Size: 229 Bytes

Versions: 14

Compression:

Stored size: 229 Bytes

Contents

require "clearance"
require "rails"

module Clearance
  class Engine < Rails::Engine
    initializer "clearance.filter" do |app|
      app.config.filter_parameters += [:token, :password, :password_confirmation]
    end
  end
end

Version data entries

14 entries across 14 versions & 2 rubygems

Version Path
clearance-0.10.5 lib/clearance/engine.rb
clearance-0.10.4 lib/clearance/engine.rb
clearance-0.10.3.2 lib/clearance/engine.rb
clearance-0.10.2 lib/clearance/engine.rb
clearance-0.10.1 lib/clearance/engine.rb
clearance-0.10.0 lib/clearance/engine.rb
janova-clearance-0.9.1 lib/clearance/engine.rb
clearance-0.9.1 lib/clearance/engine.rb
clearance-0.9.0.rc9 lib/clearance/engine.rb
clearance-0.9.0.rc8 lib/clearance/engine.rb
clearance-0.9.0.rc7 lib/clearance/engine.rb
clearance-0.9.0.rc6 lib/clearance/engine.rb
clearance-0.9.0.rc5 lib/clearance/engine.rb
clearance-0.9.0.rc4 lib/clearance/engine.rb