Commit 0f7ed650f0e1409370d9cc8b5c9d990e10a0246c

Authored by Joenio Costa
1 parent 205a1ade

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 6 <li><%= link_to(__('Homepage'), owner.url, :class => 'url') %></li>
7 7 <li><%= link_to(_('View profile'), owner.public_profile_url) %></li>
8 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 10 <% end %>
11 11 </ul>
12 12  
... ...