mirror of
https://github.com/heartcombo/devise.git
synced 2022-11-09 12:18:31 -05:00
Copy over class Devise class methods onto EmbeddedDocument modules too
This commit is contained in:
parent
6bd88461f6
commit
15bd4b1956
1 changed files with 1 additions and 0 deletions
|
@ -24,3 +24,4 @@ module Devise
|
|||
end
|
||||
|
||||
MongoMapper::Document::ClassMethods.send(:include, Devise::Models)
|
||||
MongoMapper::EmbeddedDocument::ClassMethods.send(:include, Devise::Models)
|
Loading…
Reference in a new issue