I want to be able to have different layouts in my rails program for
For example, when a person first comes to the site the layout will have
a link that says ‘home’, ‘login’, or register on the menu bar.
Once the user logs in however, the layout will change. I want it to show
the links ‘account manager’, ‘logout’, etc.
I tried putting "layout ‘layout-name’ " right after I define a function,
but rails ddin’t like this.