
July 24th, 2007, 07:29 AM
|
|
Registered User
|
|
Join Date: Jul 2007
Posts: 4
Time spent in forums: 40 m
Reputation Power: 0
|
|
OK, one more question:
If I call
Code:
render :template => 'different/action'
This will not execute the controller code for the called action, but will only render the view of that action (using locals, etc. from the currently executing action).
OTOH, if I call
Code:
render_component :controller=> 'different', :action => 'action', :params => params
This both executes the controller action for 'different/action' and renders the view of that action (using locals, etc. from the 'different/action' action.)
Is that correct?
|