removed useless if/else

This commit is contained in:
danielvincent 2010-08-23 14:19:16 -07:00
parent 60b7c30a8a
commit fb7e945fc2

View file

@ -32,7 +32,6 @@
%header %header
.container .container
#session_action #session_action
- if user_signed_in?
%ul#user_menu %ul#user_menu
%li#global_search %li#global_search
= form_tag(users_path, :method => 'get') do = form_tag(users_path, :method => 'get') do
@ -48,8 +47,6 @@
%li.settings= link_to "settings", edit_user_path(current_user) %li.settings= link_to "settings", edit_user_path(current_user)
%li.logout= link_to "logout", destroy_user_session_path %li.logout= link_to "logout", destroy_user_session_path
- else
= link_to "login", new_user_session_path
#diaspora_text{:href => root_path} #diaspora_text{:href => root_path}
= link_to "DIASPORA*", root_path = link_to "DIASPORA*", root_path