diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb index 5d59a44fc..d4248e3cc 100644 --- a/app/controllers/users_controller.rb +++ b/app/controllers/users_controller.rb @@ -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