I’m not understand how to piece my whole application together.
Basically I have a home page for a restaurants website which will
display a search facility, a login box, and some stats.
Now my first problem is not knowing which controller this should be the
layout for, because the only part of this page that would be common to
all other pages is the header and that is it: see
My second problem is that the login box functionality is part of an
account controller, the search box functionality is part of a search
controller etc So how can I render partials from all these different
controllers in this one layout?
I hope this makes sense. Please reply if any aspect is confusing and I
will try to explain myself better. Thanks very much!