diff options
Diffstat (limited to 'app/views/users/show.html.haml')
-rw-r--r-- | app/views/users/show.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/users/show.html.haml b/app/views/users/show.html.haml index 380d6aacb84..e2ddbb90213 100644 --- a/app/views/users/show.html.haml +++ b/app/views/users/show.html.haml @@ -26,7 +26,7 @@ = s_("UserProfile|Edit profile") = render 'users/view_gpg_keys' = render 'users/view_user_in_admin_area' - .js-user-profile-actions{ data: { user_id: @user.id } } + .js-user-profile-actions{ data: user_profile_actions_data(@user) } - else = render layout: 'users/cover_controls' do - if @user == current_user |