fixed some 500 on mobile site
This commit is contained in:
parent
cf66e3aebb
commit
21d0fcf47a
3 changed files with 4 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue