Revert "fpossible fix for mobile site 500 on user login"

This reverts commit fe52acb931.
This commit is contained in:
maxwell 2011-04-04 11:11:11 -07:00
parent fe52acb931
commit 94d8fb9f3a

View file

@ -1,12 +1,12 @@
#footer{:data => {:role => 'footer'}} #footer{:data => {:role => 'footer'}}
- unless current_user.nil?
.inset .inset
%b= t('.your_aspects') %b= t('.your_aspects')
%div{:data => {:role => 'controlgroup', :type => 'horizontal'}} %div{:data => {:role => 'controlgroup', :type => 'horizontal'}}
- for aspect in @all_aspects - for aspect in @all_aspects
= link_to aspect, aspects_path('a_ids[]' => aspect.id) = link_to aspect, aspects_path('a_ids[]' => aspect.id)
| |
.ui-bar .ui-bar
= link_to t('.logged_in_as', :name => current_user.name), current_user.person = link_to t('.logged_in_as', :name => current_user.name), current_user.person
= link_to t('layouts.application.toggle'), toggle_mobile_path = link_to t('layouts.application.toggle'), toggle_mobile_path
= link_to t('layouts.header.logout'), destroy_user_session_path = link_to t('layouts.header.logout'), destroy_user_session_path