<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -116,6 +116,12 @@ If you want to create a singleton RESTful controller inherit from ResourceContro
   class AccountsController &lt; ResourceController::Singleton
   end
 
+...or if need to inherit from some other class:
+
+  class AccountsController &lt; ApplicationController
+    resource_controller :singleton
+  end
+
 *Note:* This type of controllers handle a single resource only so the index action and all the collection helpers (collection_url, collection_path...) are not available for them.
 
 Loading objects in singletons is similar to plural controllers with one exception. For non-nested singleton controllers you should override the object method as it defaults to nil for them.</diff>
      <filename>README.rdoc</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>ce9143f25fa11d9ee850b3b193e69f3dd732ed85</id>
    </parent>
  </parents>
  <author>
    <name>Ricardo Shiota Yasuda</name>
    <email>shadow11@gmail.com</email>
  </author>
  <url>http://github.com/giraffesoft/resource_controller/commit/5b0f4e2ee2c7747bdef05402a219ad7430e4e0d2</url>
  <id>5b0f4e2ee2c7747bdef05402a219ad7430e4e0d2</id>
  <committed-date>2009-03-18T10:49:29-07:00</committed-date>
  <authored-date>2009-03-18T10:49:29-07:00</authored-date>
  <message>updated readme with singleton resource that inherits from another controller example</message>
  <tree>3012250c0c8720080674c1266824cd7c0c6f8b90</tree>
  <committer>
    <name>Ricardo Shiota Yasuda</name>
    <email>shadow11@gmail.com</email>
  </committer>
</commit>
