use root_path in header if not logged in

This commit is contained in:
danielgrippi 2011-11-14 19:04:00 -08:00
parent 80b03d09cc
commit 8e55fc158b

View file

@ -6,7 +6,7 @@
- if current_user
= link_to image_tag('logo_small.png', :height => "16px", :width => "161px", :class => "diaspora_header_logo"), multi_path
- else
= link_to image_tag('logo_large.png', :height => "32px", :width => "321px", :class => "diaspora_header_logo"), multi_path
= link_to image_tag('logo_large.png', :height => "32px", :width => "321px", :class => "diaspora_header_logo"), root_path
- if !current_user
.right