Sha256: b579f07a0ad1dff1f306bd3c8b904ca2a44d3995b2b0818bcb600089082b2fc8
Contents?: true
Size: 361 Bytes
Versions: 3
Compression:
Stored size: 361 Bytes
Contents
require 'enforce_ssl/base_railtie' require 'enforce_ssl/enforce_ssl_filter' module EnforceSsl class FilterRailtie < Rails::Railtie config.before_configuration do |app| BaseRailtie.configuration(app) ::ActionController::Base.send :include, EnforceSslFilter ::ActionController::Base.prepend_before_filter(:enforce_ssl) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
enforce-ssl-0.2.2 | lib/enforce_ssl/filter_railtie.rb |
enforce-ssl-0.2.1 | lib/enforce_ssl/filter_railtie.rb |
enforce-ssl-0.2.0 | lib/enforce_ssl/filter_railtie.rb |