Browse files

Words

  • Loading branch information...
1 parent 46164d0 commit 408bb264a5ba18c128a0696918a90b653d0deeb9 @kb committed May 3, 2011
Showing with 10 additions and 1 deletion.
  1. +10 −1 README.md
View
11 README.md
@@ -1,7 +1,7 @@
# Double Auth Engine
[Authlogic](https://github.com/binarylogic/authlogic) and [Declarative Authorization](https://github.com/stffn/declarative_authorization) together in one fantastic Rails engine. Bladow!
-## Usage
+## Setup
1. Add double_auth_engine to Gemfile
gem "double_auth_engine"
@@ -31,6 +31,14 @@
5. Start app
rails s
+
+## Usage
+
+Anything within a Rails engine can be overridden by creating the same file within the parent application. For example if you'd like to create your own login form, simply create a `new.html.erb` within the `app/views/user_sessions` folder in your application. If you need to add additional functionality to one of the models or controllers provided by the engine, create the corresponding file in in the appropriate place with your application and then include the associated module from the engine.
+
+ class User < ActiveRecord::Base
+ include DoubleAuthEngine::UserMixin
+ end
## Readme Driven Development
@@ -44,6 +52,7 @@ A <del>strike</del> means its done!
* <del>Authlogic specs</del>
* <del>Add Declarative Authorization</del>
* <del>Declarative Authorization specs</del>
+* <del>Friendly ID</del>
* Mailer specs
* Style views

0 comments on commit 408bb26

Please sign in to comment.