Skip to content

Instantly share code, notes, and snippets.

@jpfinlay
Created February 15, 2013 12:04
Show Gist options
  • Save jpfinlay/4960006 to your computer and use it in GitHub Desktop.
Save jpfinlay/4960006 to your computer and use it in GitHub Desktop.
Example Rails 3.2.x layout file
<!DOCTYPE html>
<html>
<head>
<title>Blogger</title>
<%= stylesheet_link_tag "application", media: "all" %>
<%= javascript_include_tag "application" %>
<%= csrf_meta_tags %>
</head>
<body>
<p class="flash">
<%= flash.notice %>
</p>
<%= yield %>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment