Sha256: defe46ab223a527db16a91b9d93b79c971de532d3053fb262ec632b0724e0a9c
Contents?: true
Size: 464 Bytes
Versions: 1
Compression:
Stored size: 464 Bytes
Contents
# Rack::Naked::To::Www ## Usage Add to your Gemfile ```ruby gem "rack-www-enforcer" ``` Add to `config/application.rb` ```ruby module YourApp class Application < Rails::Application .. config.middleware.insert_before ActionDispatch::Static, Rack::NakedToWww .. end end ``` ## Development ``` bundle exec rspec bundle exec standardrb --fix ``` ## Credits Inspiration [rack-www-enforcer](https://github.com/guilleiguaran/rack-www-enforcer)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rack-naked-to-www-0.1.0 | README.md |