The magical line in this template is <%= @content_for_layout %> is picked up
from any store/filename.rhtml.
The views, in this case, under store all have that layout. So generally in
your views you do not put any site or menu layout kind thingies (they go in
layouts). Views only generate html output containing your actual html
encapsulated data, e.g.
On Saturday 24 December 2005 12:45, Fab Psycho tried to type something like:
> I'm releasing my first rails application and I'd like to have a common
> menu in all my templates.
> Do I have to include an rhtml from .rb or other rhtml ? Some sample code
> pls ?
> Rails mailing list
> [hidden email] > http://lists.rubyonrails.org/mailman/listinfo/rails
"Who cares if it doesn't do anything? It was made with our new
Triple-Iso-Bifurcated-Krypton-Gate-MOS process ..."