Commit 0f7ed650f0e1409370d9cc8b5c9d990e10a0246c
1 parent
205a1ade
Exists in
master
and in
28 other branches
Passing profile identifier as param to compose control panel link
(ActionItem2076)
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/views/blocks/my_network.rhtml
@@ -6,7 +6,7 @@ | @@ -6,7 +6,7 @@ | ||
6 | <li><%= link_to(__('Homepage'), owner.url, :class => 'url') %></li> | 6 | <li><%= link_to(__('Homepage'), owner.url, :class => 'url') %></li> |
7 | <li><%= link_to(_('View profile'), owner.public_profile_url) %></li> | 7 | <li><%= link_to(_('View profile'), owner.public_profile_url) %></li> |
8 | <% if !user.nil? and owner.organization? and user.has_permission?('edit_profile', profile) %> | 8 | <% if !user.nil? and owner.organization? and user.has_permission?('edit_profile', profile) %> |
9 | - <li><%= link_to _('Control panel'), :controller => 'profile_editor' %></li> | 9 | + <li><%= link_to _('Control panel'), :controller => 'profile_editor', :profile => profile.identifier %></li> |
10 | <% end %> | 10 | <% end %> |
11 | </ul> | 11 | </ul> |
12 | 12 |