issues
search
thessrb
/
thessrbio
Thessaloniki Ruby Meetup home
3
stars
12
forks
source link
05 layout
#28
Closed
xarisd
closed
9 years ago
xarisd
commented
9 years ago
Use a layout
Create a application.html.erb in app/views/layouts
Copy the common (surrounding) HTML into it
Remove the common (surrounding) HTML from the templates
Use the default layout in controllers
Change the layout to display links and title
Use instance variables in the templates to set current_page and title
Use the same instance variables in layout to display correctly the links and title
Use a layout
Change the layout to display links and title