Permalink
Browse files

the partial option is not required for simple partial rendering

  • Loading branch information...
1 parent d44cd37 commit 7e1f6688e92c18f9973ad65db7b95de495b98947 @rajinder-yadav rajinder-yadav committed Nov 14, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/guides/source/layouts_and_rendering.textile
@@ -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" %>

0 comments on commit 7e1f668

Please sign in to comment.