Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Convert app.erb to app.haml

  • Loading branch information...
commit ff23d20ff467e10baa6eab4c5e15673f75964e75 1 parent e61a866
Andy Zhang authored
Showing with 9 additions and 14 deletions.
  1. +9 −14 app/views/layouts/application.haml
View
23 app/views/layouts/application.haml
@@ -1,15 +1,10 @@
-<!DOCTYPE html>
-<html>
-<head>
- <title>CommentsRails</title>
- <%= stylesheet_link_tag "application", media: "all", "data-turbolinks-track" => true %>
- <%= javascript_include_tag "http://zor.thedailybeast.fyre.co/wjs/v3.0/javascripts/livefyre.js" %>
- <%= javascript_include_tag "application", "data-turbolinks-track" => true %>
- <%= csrf_meta_tags %>
-</head>
-<body>
+%html
+ %head
+ %title CommentsRails
+ = stylesheet_link_tag "application", media: "all", "data-turbolinks-track" => true
+ = javascript_include_tag "http://zor.thedailybeast.fyre.co/wjs/v3.0/javascripts/livefyre.js"
+ = javascript_include_tag "application", "data-turbolinks-track" => true
+ = csrf_meta_tags
-<%= yield %>
-
-</body>
-</html>
+ %body
+ = yield
Please sign in to comment.
Something went wrong with that request. Please try again.