title: Grails RestfulController actions and resources
body: <p>I'm a bit confused on now this should be working. The documentation says:
  <a href="http://grails.org/doc/latest/guide/single.html#extendingRestfulController" rel="nofollow">http://grails.org/doc/latest/guide/single.html#extendingRestfulController</a></p>
  
  <blockquote>
    <p>9.1.5.1 Extending the RestfulController super class</p>
    
    <p>The easiest way to get started doing so is to create a new controller
    for your resource that extends the grails.rest.RestfulController super
    class. For example:</p>
  </blockquote>
  
  <p><code>class BookController extends RestfulController {
      static responseFormats = ['json', 'xml']
      BookController() {
          super(Book)
      }
  }</code></p>
  
  <blockquote>
    <p>To customize any logic you can just override the appropriate action.
    The following table provides the names of the action names and the
    URIs they map to:</p>
    
    <p>HTTP Method   URI Controller Action<br> GET   /books  index<br>
    GET   /books/create   create<br> POST /books  save<br>
    GET   /books/${id}    show<br> GET    /books/${id}/edit   edit<br>
    PUT   /books/${id}    update<br> DELETE   /books/${id}    delete<br></p>
  </blockquote>
  
  <p>I have created the BookController as well as the associated Book domain class, but i notice that I cannot access (Bootstrap added books) the books via the documented uri: <br>
  <strong>/books/${id}</strong></p>
  
  <p>I am able to access it using the non-plural domain name and the action: <br>
  <strong>/book/show/1</strong></p>
  
  <p>When I try to add @Resource(uri='/books') to the Book domain class that doesn't help either.
  Does grails not support his anymore? Do i have to use the action verbs?</p>
  
  <p>I am using grails 2.4.2 </p>
  
  <p>Thanks.</p>