Skip to content

Instantly share code, notes, and snippets.

@adammiribyan
Created April 14, 2011 09:15
Show Gist options
  • Save adammiribyan/919169 to your computer and use it in GitHub Desktop.
Save adammiribyan/919169 to your computer and use it in GitHub Desktop.
rails app template layout file
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<title><%= yield :title %></title>
<%= stylesheet_link_tag "reset", "application" %>
<%= javascript_include_tag "jquery.min", "application", "rails" %>
<%= csrf_meta_tag %>
</head>
<body>
<%= yield %>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment