Use Haml for views

* Bundle Haml gem
* Convert default erb layout to haml
This commit is contained in:
Thibault Jouan
2011-07-09 09:31:35 +00:00
parent 6b337d3461
commit 74fb4ca86f
4 changed files with 14 additions and 14 deletions

View File

@@ -1,14 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<title>Scube</title>
<%= stylesheet_link_tag :all %>
<%= javascript_include_tag :defaults %>
<%= csrf_meta_tag %>
</head>
<body>
<%= yield %>
</body>
</html>

View File

@@ -0,0 +1,10 @@
!!!
%html
%head
%meta{'charset' => 'utf-8'}
%title scube
= stylesheet_link_tag :all
= javascript_include_tag :defaults
= csrf_meta_tag
%body
= yield