Added yield to application layout for conditional rendering of splash

This commit is contained in:
Gopesh Tulsyan 2014-06-03 14:07:28 +05:30
parent 84a26b8d02
commit 4c1b693fcb
2 changed files with 8 additions and 6 deletions

View file

@ -21,6 +21,7 @@
- if controller.class.name.split("::").first=="Admin"
= render 'layouts/admin'
-else
= yield :splash
.container#messages
.row
.col-md-12