diff options
Diffstat (limited to 'app/views/layouts/application.html.haml')
-rw-r--r-- | app/views/layouts/application.html.haml | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml index d5adca9..380f92d 100644 --- a/app/views/layouts/application.html.haml +++ b/app/views/layouts/application.html.haml @@ -11,10 +11,8 @@ = yield(:head) %body #masthead - - if logged_in? + - if params[:controller] != 'home' = render 'layouts/masthead' - - elsif params[:controller] != 'home' - = render 'layouts/masthead_noauth' #main .container-fluid - if logged_in? |