S
sayoyo
Hi,
Can an action view (a template) invoke a methode of a controller, then
display the results of the methode at the same template?
like:
if actionTwo return a simple string "xyz123"
and the action view looks like this:
<body>
abcde
<%= renderaction => :actionTwo) %>
</body>
Should the result html be
abcde
xyz123
Thanks you very much
Sayoyo
Can an action view (a template) invoke a methode of a controller, then
display the results of the methode at the same template?
like:
if actionTwo return a simple string "xyz123"
and the action view looks like this:
<body>
abcde
<%= renderaction => :actionTwo) %>
</body>
Should the result html be
abcde
xyz123
Thanks you very much
Sayoyo