Sha256: 4c7b0c08e1c147801a257f84dc9f8a96b5015e7d39ebbda4003862676a952734

Contents?: true

Size: 205 Bytes

Versions: 6

Compression:

Stored size: 205 Bytes

Contents

require "clearance"
require "rails"

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
clearance-0.13.2 lib/clearance/engine.rb
clearance-0.13.0 lib/clearance/engine.rb
clearance-0.12.0 lib/clearance/engine.rb
clearance-0.11.2 lib/clearance/engine.rb
clearance-0.11.1 lib/clearance/engine.rb
clearance-0.11.0 lib/clearance/engine.rb