Skip to content

Commit

Permalink
the partial option is not required for simple partial rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
rajinder-yadav committed Nov 14, 2010
1 parent d44cd37 commit 7e1f668
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion railties/guides/source/layouts_and_rendering.textile
Original file line number Diff line number Diff line change
Expand Up @@ -970,7 +970,7 @@ Partial templates - usually just called "partials" - are another device for brea

h5. Naming Partials

To render a partial as part of a view, you use the +render+ method within the view, and include the +:partial+ option:
To render a partial as part of a view, you use the +render+ method within the view:

<ruby>
<%= render "menu" %>
Expand Down

0 comments on commit 7e1f668

Please sign in to comment.