Skip to content
Browse files

Readme markdown formatting

  • Loading branch information...
1 parent bcbedbf commit 925023f122105b3181e4ebec99fd850f6d8f34f7 @HP committed Jan 25, 2010
Showing with 5 additions and 1 deletion.
  1. +5 −1 README.markdown
View
6 README.markdown
@@ -1,19 +1,23 @@
# RailsWarden example using Mongoid
-created by: http://github.com/HP
+Created by: http://github.com/HP
User Model based on [Clearance](http://github.com/thoughtbot/clearance/).
+
Example Application based on [Authlogic Example App](http://github.com/binarylogic/authlogic_example).
+
Layout generated with nifty_layout from [Nifty Generators](http://github.com/ryanb/nifty-generators).
[RailsWarden](http://github.com/hassox/rails_warden) provides authentication via the [Warden](http://github.com/hassox/warden) Rack authentication framework.
Helper Methods provided by RailsWarden:
+
- Access Warden: `warden`
- Check if user is logged in: `logged_in?`, `authenticated?`
- Access logged in user: `current_user`, `user`
- Set logged in user: `current_user=`, `user=`
Controller Methods:
+
- Authenticate: `authenticate`
- Authenticate with error/redirect: `authenticate!`
- Log out: `logout`

0 comments on commit 925023f

Please sign in to comment.
Something went wrong with that request. Please try again.