Changed splash layout

Changed view spec to render with content_for
This commit is contained in:
Gopesh Tulsyan 2014-06-20 18:28:42 +05:30
parent 8ebf9de76c
commit 23ad35caea
3 changed files with 57 additions and 53 deletions

View file

@ -25,8 +25,12 @@
.row
.col-md-12
= render 'layouts/messages'
.container#content
= yield
- if content_for :splash
#content
= yield :splash
-else
.container#content
= yield
#footer
.container