Place Rack:SSL before hoptoad
This commit is contained in:
parent
8ae9fdfd81
commit
1fe7793ec5
1 changed files with 4 additions and 1 deletions
|
|
@ -1 +1,4 @@
|
|||
Rails.application.config.middleware.insert_before(Rack::Runtime, Rack::SSL) if EnviromentConfiguration.enforce_ssl?
|
||||
if EnviromentConfiguration.enforce_ssl?
|
||||
Rails.application.config.middleware.insert_before HoptoadNotifier::UserInformer, Rack::SSL
|
||||
puts "Rack::SSL is enabled"
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue