Permalink
Browse files

Use double equals in slim templates for rendering

  • Loading branch information...
1 parent 1974a20 commit 5faad969f5a0b5de06c148c832fc89993a76f9de @sporkd committed Apr 13, 2013
@@ -9,16 +9,16 @@ doctype html
html.no-js
/!<![endif]
- = render 'head'
+ == render 'head'
body class=controller.controller_name
- = render 'chromeframe'
- = render 'header'
+ == render 'chromeframe'
+ == render 'header'
- = render 'flashes'
- = yield
+ == render 'flashes'
+ == yield
- = render 'footer'
+ == render 'footer'
/ Javascript at the bottom for fast page loading
- = render 'javascripts'
+ == render 'javascripts'
@@ -6,7 +6,7 @@ head
meta content='' name='description'
meta content='width=device-width' name='viewport'
- = render 'stylesheets'
+ == render 'stylesheets'
/ All JavaScript at the bottom, except polyfills
= javascript_include_tag 'polyfills'
@@ -1,7 +1,7 @@
= javascript_include_tag 'application'
/ Append your own using content_for :javascripts
-= yield :javascripts
+== yield :javascripts
/ Google Analytics
/ Looks for google_account_id first in ENV['GOOGLE_ACCOUNT_ID'] then in config/html5_rails.yml
@@ -1,4 +1,4 @@
= stylesheet_link_tag 'application', :media => nil
/ Append your own using content_for :stylesheets
-= yield :stylesheets
+== yield :stylesheets

0 comments on commit 5faad96

Please sign in to comment.