<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -114,6 +114,22 @@ provide better custom ACL checking in your models.
 Example
 =======
 
+There's one rake task to generate a simple session_controller. Use rake blubber::create_session_controller and add the following to your config/routes.rb:
+
+    map.resource :session
+    map.login 'login', :controller =&gt; &quot;sessions&quot;, :action =&gt; &quot;new&quot;
+
+Then create a normal HTML form to submit the login data (e.g. in HAML):
+
+- form_tag :controller =&gt; :sessions, :action =&gt; &quot;create&quot; do
+  %p
+    %label{:for =&gt; :email} Email
+    = text_field_tag :email, nil, :size =&gt; 20
+  %p
+    %label{:for =&gt; :password} Kennwort
+    = password_field_tag :password, nil, :size =&gt; 20
+  %p.submit= submit_tag 'Login'
+
 &quot;I want to make UserController#index available to all users.
 UserController#new and #create should be available to anyone
 to allow them to login. The rest should only be available to</diff>
      <filename>README</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>c9edc0db23a49721d975232e596138186d901b3e</id>
    </parent>
  </parents>
  <author>
    <name>Andreas Happe</name>
    <email>andreas.happe@blackwhale.at</email>
  </author>
  <url>http://github.com/andreashappe/blubber/commit/89157d454048787bd4c8221c20b6497560f5f68d</url>
  <id>89157d454048787bd4c8221c20b6497560f5f68d</id>
  <committed-date>2008-10-25T08:07:58-07:00</committed-date>
  <authored-date>2008-10-25T08:07:58-07:00</authored-date>
  <message>[chg] documentation</message>
  <tree>f43ab1c81ca3056ad4a88d41454fd88e8735a6bd</tree>
  <committer>
    <name>Andreas Happe</name>
    <email>andreas.happe@blackwhale.at</email>
  </committer>
</commit>
