Forum: Ruby on Rails application.rhtml multiple render/include output from differ

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
D93d0048bcec39ed47b07aa5f3bc0f36?d=identicon&s=25 sTb (Guest)
on 2007-04-08 18:20
(Received via mailing list)
i have cms_controller.rb and project_controller.rb
default layout is application.rhtml
default route is to cms/showid/1

i also want to inlclude project/list2 (little table of my latest work)
at application.rhtml even when the url is cms/..../... how can i
"include/render" the project/list2 "output/render" into
application.rhtml no matter what url/controller is called?

i already tried <% render :controller => "project",action => "list2"
%> ?

Hopefully you got my point.

thanks for your help!

regards sTb
D93d0048bcec39ed47b07aa5f3bc0f36?d=identicon&s=25 sTb (Guest)
on 2007-04-08 19:27
(Received via mailing list)
okay application.rb ive got it ;>
This topic is locked and can not be replied to.