开源项目中新增tag,搜索查找待新增tag的obj

exceptionHandle
fanqiang 11 years ago
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…
Cancel
Save