I’m currently lacking of a good solution for the following problem:
I’ve a few controller, each of them linked to a specific topic like
user, books, order etc. (Actually I know that this is the normal way
g. But its good for explanation). Alongside there is a home
controller that acts_as_my_start_page. On that page I want to include
information from each of the topic-related controllers. Means: I want
to call actions coming from these controllers on my
home-controller-index-view. Kind of sidebar functionality…
At the moment I solve this by calling “remote_functions” (that are
located at the end of my body tag) from that index page and include
the information via replace_html.
Obviously this isn’t quite the best solution. .
Can somebody help?