So I've just dipped into Rails and I'm completely lost ...
I have a very simple website. There are 2 layouts, application and
The route begins at the welcome layout.
The "main" controller is connected to the "welcome" layout, and has one
method, so this method's view gets inserted at the yield block. It
inserts an image that when you click it, brings you to a new page. This
new page has a new layout "application". The controller "beers" is
connected to this layout and has three methods, beers1, beers2, food.
Below is the view that gets inserted in "welcome" layout: