summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/views/layouts/_masthead_noauth.html.haml3
-rw-r--r--app/views/layouts/application.html.haml4
2 files changed, 1 insertions, 6 deletions
diff --git a/app/views/layouts/_masthead_noauth.html.haml b/app/views/layouts/_masthead_noauth.html.haml
deleted file mode 100644
index 6bb1943..0000000
--- a/app/views/layouts/_masthead_noauth.html.haml
+++ /dev/null
@@ -1,3 +0,0 @@
-.title
- %span.sitename
- = APP_CONFIG[:domain] \ No newline at end of file
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?