Create a Rails app called fanzine
. This app will have a controller called home
and four routes called:
- Homepage
- Info
- About
- redirect_home
You'll have to match these routes with these templates:
- Homepage renders the template "homepage"
- Info renders the template "information"
- About renders the template "about"
- redirect_home redirect the request to "/homepage"
This app only has one layout, but the layout should have a menu with links to the four routes. These links should be inside a partial called menu
and the file should be in app/views/application
. The menu should appear on every page.