small tweak
Oleg
committed Oct 29, 2010
commit 249376fb7e9a1539af168b623d7206449ab7b5d3
Showing 1
changed file with
2 additions
and 1 deletions
README.md
+2
-1
| @@ | @@ -87,7 +87,8 @@ are tags that map to your view helpers methods |
| are exactly that. You don't want to do IRB inside CMS so there's a handy tag: | |
| { cms:partial:path/to/partial } # gets translated to <%= render :partial => 'path/to/partial' %> | |
| - | { cms:partial:path/to/partial:x:y } # gets translated to <%= render :partial => 'path/to/partial', :locals => { :param_1 => 'x', :param_2 => 'y'} %> |
| + | { cms:partial:path/to/partial:x:y } # gets translated to <%= render :partial => 'path/to/partial', |
| + | # :locals => { :param_1 => 'x', :param_2 => 'y'} %> |
| You don't have to define entire html layout, however. You can simply re-use your application one. Page content will be yielded into it like any normal view. | |