Use haml instead of content_tag
This commit is contained in:
parent
543bf458a2
commit
80a494f9ba
1 changed files with 1 additions and 1 deletions
|
|
@ -92,7 +92,7 @@
|
||||||
#notifications
|
#notifications
|
||||||
|
|
||||||
- flash.each do |name, msg|
|
- flash.each do |name, msg|
|
||||||
= content_tag :div, msg, :id => "flash_#{name}"
|
%div{:id => "flash_#{name}"}= msg
|
||||||
|
|
||||||
%header{:class=>('landing' unless current_user)}
|
%header{:class=>('landing' unless current_user)}
|
||||||
= render 'layouts/header'
|
= render 'layouts/header'
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue