开源项目中新增tag,搜索查找待新增tag的obj
This commit is contained in:
parent
2c8580a4e8
commit
e89d74e2a9
|
@ -658,6 +658,8 @@ class UsersController < ApplicationController
|
|||
@obj = Attachment.find_by_id(@obj_id)
|
||||
when '7' then
|
||||
@obj = Contest.find_by_id(@obj_id)
|
||||
when '8'
|
||||
@obj = OpenSourceProject.find_by_id(@obj_id)
|
||||
else
|
||||
@obj = nil
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue