summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2013-07-06 23:10:16 -0700
committerelijah <elijah@riseup.net>2013-07-06 23:10:16 -0700
commit315ccfa22f9747a2cd98bccec18011b62b299960 (patch)
tree3828afc2ea4f75eac4d5f51bceaba79e318949be
parent8d158d8472cd4c83ba6fa2f0e4fc080b8936f5de (diff)
minor - remove masthead_noauth partial
-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?