From: Hassan Schroeder Date: 2013-05-28T03:40:31+09:00 Subject: Re: How to show menu in application.html.erb on other pages? On Mon, May 27, 2013 at 10:57 AM, Rohit Coder wrote: > I am using Aptana Studio 3 to write a small application. ProTip: no one cares what editor you're using. > In the Views folder, I added a new .html.erb page and added a jQuery > navigation menu bar. This page also has a banner. I want to keep this as a > base page (like Master Page in .NET) for all the other pages. > I want all the other pages to automatically show the banner and menu bar on > top. Your primary layout file, by default application.html.erb, is there to wrap page-specific content. You can include and position elements in that layout however you choose. Have you worked through a Rails tutorial yet? -- Hassan Schroeder ------------------------ hassan.schroeder@gmail.com http://about.me/hassanschroeder twitter: @hassan