Skip to content

Instantly share code, notes, and snippets.

@rorlab
Created July 19, 2012 09:15
Show Gist options
  • Select an option

  • Save rorlab/3142506 to your computer and use it in GitHub Desktop.

Select an option

Save rorlab/3142506 to your computer and use it in GitHub Desktop.
app/views/layouts/application.html.erb
<!DOCTYPE html>
<html>
<head>
<title>Blog, ROR Lab. Lecture</title>
<%= stylesheet_link_tag "application", :media => "all" %>
<%= javascript_include_tag "application" %>
<%= csrf_meta_tags %>
</head>
<body>
<div id="header">
<h1><%= link_to "ROR Lab., Season 2", root_path %></h1>
<small>The 7th Round, ActiveRecord Callbacks & Observers</small>
</div>
<div id="trunk">
<div id="main_page">
<%= yield %>
</div>
</div>
<div id="footer">
- Offline Biweekly Lecture for ROR Newbies on <%= Date.today %> -
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment