Browse files

Added some extra documentation on the resources() actions kwarg.

  • Loading branch information...
zacharyvoase committed Jun 4, 2011
1 parent e9ab540 commit 4e55bcd3527a8e6bed3bbcf9739acdf9d512cb60
Showing with 6 additions and 0 deletions.
  1. +6 −0 doc/
@@ -119,6 +119,12 @@ This is useful if you’re going to display the `new` and `edit` forms on the
`index` and `show` pages, for example. Excluding `new` and `edit` may also
prevent naming clashes if you’re using slug identifiers in URIs.
**N.B.:** most of the time, you won't need to use the `actions` keyword
argument; if you just leave actions undefined, Dagny will automatically return
the appropriate responses. The only case where `actions` would be useful is if
those actions *are* defined on the resource but you don't want routes to them
to be created.
### Singular Resources

0 comments on commit 4e55bcd

Please sign in to comment.