From 315ccfa22f9747a2cd98bccec18011b62b299960 Mon Sep 17 00:00:00 2001 From: elijah Date: Sat, 6 Jul 2013 23:10:16 -0700 Subject: minor - remove masthead_noauth partial --- app/views/layouts/_masthead_noauth.html.haml | 3 --- app/views/layouts/application.html.haml | 4 +--- 2 files changed, 1 insertion(+), 6 deletions(-) delete mode 100644 app/views/layouts/_masthead_noauth.html.haml (limited to 'app/views/layouts') 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? -- cgit v1.2.3