Sha256: 3b18ea320190be7553c98f0aaa534d5d1fff266fd315e08a5a3dc007ba52aeb1
Contents?: true
Size: 829 Bytes
Versions: 10
Compression:
Stored size: 829 Bytes
Contents
require 'devise' require 'action_controller' require 'action_controller/base' require 'devise_masquerade/version' require 'devise_masquerade/routes' require 'devise_masquerade/controllers/helpers' require 'devise_masquerade/controllers/url_helpers' require 'devise_masquerade/rails' module DeviseMasquerade end module Devise mattr_accessor :masquerade_param @@masquerade_param = 'masquerade' mattr_accessor :masquerade_expires_in @@masquerade_expires_in = 10.seconds mattr_accessor :masquerade_key_size @@masquerade_key_size = 16 mattr_accessor :masquerade_bypass_warden_callback @@masquerade_bypass_warden_callback = false @@helpers << DeviseMasquerade::Controllers::Helpers end Devise.add_module :masqueradable, :controller => :masquerades, :model => 'devise_masquerade/model', :route => :masquerade
Version data entries
10 entries across 10 versions & 1 rubygems