mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 11:50:49 +08:00
6 lines
95 B
Ruby
6 lines
95 B
Ruby
if @user.present?
|
|
json.partial! 'users/user', locals: { user: @user }
|
|
else
|
|
json.null
|
|
end
|