Sha256: 74d8649bbaec567067e223c16d052b5424c839a61815bab5d8cecb982ef04b58
Contents?: true
Size: 408 Bytes
Versions: 2
Compression:
Stored size: 408 Bytes
Contents
module DeviseSecurity class Engine < ::Rails::Engine ActiveSupport.on_load(:action_controller) do include DeviseSecurity::Controllers::Helpers end if Rails.version > "5" ActiveSupport::Reloader.to_prepare do DeviseSecurity::Patches.apply end else ActionDispatch::Callbacks.to_prepare do DeviseSecurity::Patches.apply end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
devise-security-0.11.1 | lib/devise-security/rails.rb |
devise-security-0.11.0 | lib/devise-security/rails.rb |