fixed some 500 on mobile site

This commit is contained in:
MrZYX 2011-03-15 17:02:04 +01:00
parent cf66e3aebb
commit 21d0fcf47a
3 changed files with 4 additions and 4 deletions

View file

@ -7,7 +7,7 @@
DIASPORA*
#author_info.profile
- unless @contact.persisted? || current_user.person == @person
- if user_signed_in? && !(@contact.persisted? || current_user.person == @person)
.right
= link_to "start sharing",
{:controller => "contact",
@ -24,7 +24,7 @@
.description
= @person.diaspora_handle
- unless @contact.persisted? || current_user.person == @person
- if user_signed_in? && !(@contact.persisted? || current_user.person == @person)
- if @incoming_request
.floating
%h3

View file

@ -14,7 +14,7 @@
#publisher_text
= t('.whats_on_your_mind')
= status.text_area :message
= status.text_area :text
- for aspect_id in @aspect_ids
= hidden_field_tag 'aspect_ids[]', aspect_id.to_s