diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb index fe4267d8a0..ff6bcbdc06 100644 --- a/app/controllers/users_controller.rb +++ b/app/controllers/users_controller.rb @@ -131,8 +131,8 @@ def profile @twitter = @profile_user.social_link("twitter") @facebook = @profile_user.social_link("facebook") @instagram = @profile_user.social_link("instagram") - - + @count_activities_posted = Tag.tagged_nodes_by_author("activity:*", @user).count + @count_activities_attempted = Tag.tagged_nodes_by_author("replication:*", @user).count @map_lat = nil @map_lon = nil @map_blurred = nil diff --git a/app/views/users/profile.html.erb b/app/views/users/profile.html.erb index 6032fa2223..72ce4fab6e 100644 --- a/app/views/users/profile.html.erb +++ b/app/views/users/profile.html.erb @@ -5,7 +5,7 @@ <% end %> - +