README.markdown in simple_auth-1.1.0 vs README.markdown in simple_auth-1.2.0
- old
+ new
@@ -138,9 +138,21 @@
module ApplicationHelper
include SimpleAuth::Helper
end
+### MongoMapper support
+
+You can use SimpleAuth with MongoMapper. Just include the module `SimpleAuth::Orm::MongoMapper` and
+set up your model with the `authentication` macro.
+
+ class User
+ include MongoMapper::Document
+ include SimpleAuth::Orm::MongoMapper
+
+ authentication
+ end
+
### Translations
These are the translations you'll need:
en:
\ No newline at end of file