mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-24 05:35:46 +08:00
fix: owner allow nil
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
json.type @owner.type
|
json.type @owner&.type
|
||||||
if @owner.is_a?(Organization)
|
if @owner.is_a?(Organization)
|
||||||
json.partial! "organizations/organizations/detail", organization: @owner
|
json.partial! "organizations/organizations/detail", organization: @owner
|
||||||
json.can_create_project @can_create_project
|
json.can_create_project @can_create_project
|
||||||
|
|||||||
Reference in New Issue
Block a user