Module: Devise::Orm::Mongoid::Hook

Defined in:
lib/devise/orm/mongoid.rb

Instance Method Summary collapse

Instance Method Details

#devise_modules_hook!Object



7
8
9
10
11
12
# File 'lib/devise/orm/mongoid.rb', line 7

def devise_modules_hook!
  extend Schema
  yield
  return unless Devise.apply_schema
  devise_modules.each { |m| send(m) if respond_to?(m, true) }
end