Sha256: cb9fcf6f465b62092eb21e9d04f6328d12c1608558037dc931f6918762be21f6
Contents?: true
Size: 313 Bytes
Versions: 3
Compression:
Stored size: 313 Bytes
Contents
require 'enforce_ssl/base_railtie' require 'enforce_ssl/enforce_ssl_rack' module EnforceSsl class FilterRailtie < Rails::Railtie config.before_configuration do |app| BaseRailtie.configuration(app) app.config.middleware.insert_before(::ActionDispatch::Static, EnforceSslRack) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
enforce-ssl-0.2.2 | lib/enforce_ssl/rack_railtie.rb |
enforce-ssl-0.2.1 | lib/enforce_ssl/rack_railtie.rb |
enforce-ssl-0.2.0 | lib/enforce_ssl/rack_railtie.rb |