ckraybill/redact-rack
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
redact-rack: automatically redact words on your website
Rails usage:
# config/environment.html
config.middleware.use "Rack::Redact", YAML::load_file("#{RAILS_ROOT}/config/redacted.yml")
It takes one argument, an array of words to censor.