diff --git a/app/views/plugin/personal_diploma/_profile.html.erb b/app/views/plugin/personal_diploma/_profile.html.erb
index 6089f6e..9f92fee 100644
--- a/app/views/plugin/personal_diploma/_profile.html.erb
+++ b/app/views/plugin/personal_diploma/_profile.html.erb
@@ -16,8 +16,8 @@
<% if has_access? %>
- <%= link_to('Hide', '#', :class => "btn btn-mini list-active-btn disabled", "data-check-action" => "list-be-hide", :rel => toggle_hide_admin_diplomas_path(member_profile_id: params[:id], disable: 'true') ) %>
- <%= link_to('Show', '#', :class => "btn btn-mini list-active-btn disabled", "data-check-action" => "list-be-show", :rel => toggle_hide_admin_diplomas_path(member_profile_id: params[:id], disable: 'false') ) %>
+ <%= link_to('Hide', '#', :class => "btn btn-mini list-active-btn disabled", "data-check-action" => "list-be-hide", :rel => toggle_hide_admin_diplomas_path(member_profile_id: @member.id.to_s, disable: 'true') ) %>
+ <%= link_to('Show', '#', :class => "btn btn-mini list-active-btn disabled", "data-check-action" => "list-be-show", :rel => toggle_hide_admin_diplomas_path(member_profile_id: @member.id.to_s, disable: 'false') ) %>
<% end -%>