Merge branch 'standalone_develop' of https://gitlink.org.cn/Trustie/forgeplus into standalone_develop

This commit is contained in:
yystopf 2025-06-27 15:26:06 +08:00
commit 0ae4f8decd
2 changed files with 6 additions and 1 deletions

View File

@ -31,7 +31,7 @@ json.author do
json.name user.try(:show_real_name)
json.type user&.type
json.login user.login
json.image_url url_to_avatar(user)
json.image_url url_to_avatar(user).present? ? url_to_avatar(user) : User::Avatar.get_letter_avatar_url(user.login)
end
end

View File

@ -0,0 +1,5 @@
class AddProjectIndexGpid < ActiveRecord::Migration[5.2]
def change
add_index :projects, :gpid
end
end