diff --git a/app/helpers/users_helper.rb b/app/helpers/users_helper.rb index da1a5dc1a7..d397648611 100644 --- a/app/helpers/users_helper.rb +++ b/app/helpers/users_helper.rb @@ -56,7 +56,7 @@ def user_avatar_tag(user, version = :md, opts = {}) } if opts[:link] != false - link_to(raw(img), user_path(user), options) + link_to(raw(img), main_app.user_path(user), options) else raw img end