diff --git a/app/views/friends/index.rhtml b/app/views/friends/index.rhtml
index d2a1907..710cd30 100644
--- a/app/views/friends/index.rhtml
+++ b/app/views/friends/index.rhtml
@@ -31,7 +31,7 @@
:class => 'button icon-remove',
:title => _('remove') %>
<%= link_to content_tag('span',_('contact')),
- friend.url.merge(:controller => 'contact', :action => 'new'),
+ friend.url.merge(:controller => 'contact', :action => 'new', :profile => friend.identifier),
:class => 'button icon-menu-mail',
:title => _('contact') %>
diff --git a/app/views/search/communities.rhtml b/app/views/search/communities.rhtml
index 91a2d83..4566cf5 100644
--- a/app/views/search/communities.rhtml
+++ b/app/views/search/communities.rhtml
@@ -4,7 +4,7 @@
<% if logged_in? %>
<% button_bar do %>
<%# FIXME shouldn't the user create the community in the current environment instead of going to its home environment? %>
- <%= button(:add, __('New community'), user.url.merge(:controller => 'memberships', :action => 'new_community')) %>
+ <%= button(:add, __('New community'), user.url.merge(:controller => 'memberships', :action => 'new_community', :profile => user.identifier)) %>
<% end %>
<% end %>
--
libgit2 0.21.2