Use Haml for views
* Bundle Haml gem * Convert default erb layout to haml
This commit is contained in:
@@ -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>
|
10
app/views/layouts/application.html.haml
Normal file
10
app/views/layouts/application.html.haml
Normal 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
|
Reference in New Issue
Block a user