Render collection in services finder
This commit is contained in:
parent
79a684d072
commit
d7980978fa
1 changed files with 1 additions and 2 deletions
|
|
@ -4,5 +4,4 @@
|
|||
|
||||
= search_field_tag :contact_search, "", :class => 'contact_list_search', :results => 5, :placeholder => t('shared.contact_list.all_contacts')
|
||||
%ul.friend_finder
|
||||
- for friend in friends
|
||||
= render :partial => 'services/remote_friend', :locals => {:friend => friend}
|
||||
= render :partial => 'services/remote_friend', :collection => friends, :as => :friend
|
||||
|
|
|
|||
Loading…
Reference in a new issue