Sha256: bb1ad1b6675271ba35e5a1e910ab57be1bb34f6f563a9018c651f11fa0cdf8d4
Contents?: true
Size: 906 Bytes
Versions: 4
Compression:
Stored size: 906 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 mattr_accessor :masquerade_routes_back @@masquerade_routes_back = false @@helpers << DeviseMasquerade::Controllers::Helpers end Devise.add_module :masqueradable, :controller => :masquerades, :model => 'devise_masquerade/model', :route => :masquerade
Version data entries
4 entries across 4 versions & 1 rubygems