railsbridge / builders

ARCHIVED as of 7/29/2013: Recruiting page for the RailsBridge Builders
http://railsbridge.org
MIT License
11 stars 5 forks source link

create About static page copy #37

Open hardbap opened 15 years ago

hardbap commented 15 years ago

To add the static page "contact" to the site all you need to do is create a file /app/views/page/contact.html.erb. To link to the new page use the helper link_to_static:

link_to_static(:contact) => <a href="/site/contact">contact</a>

Or you can supply your own link text:

link_to_static(:contact, 'me') => <a href="site/contact">me</a>
hardbap commented 15 years ago

the about page has already been added at app/views/page/about.html.erb. we just need some copy for it.