diff options
author | elijah <elijah@riseup.net> | 2013-07-06 23:10:16 -0700 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2013-07-06 23:10:16 -0700 |
commit | 315ccfa22f9747a2cd98bccec18011b62b299960 (patch) | |
tree | 3828afc2ea4f75eac4d5f51bceaba79e318949be | |
parent | 8d158d8472cd4c83ba6fa2f0e4fc080b8936f5de (diff) |
minor - remove masthead_noauth partial
-rw-r--r-- | app/views/layouts/_masthead_noauth.html.haml | 3 | ||||
-rw-r--r-- | app/views/layouts/application.html.haml | 4 |
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? |