解决用户提交完代码后再修改邮箱的问题
This commit is contained in:
parent
aa4710d872
commit
60dd55e52d
|
@ -47,6 +47,7 @@ module RepositoriesHelper
|
|||
|
||||
def user_commit_rep(mail)
|
||||
user = User.find_by_mail(mail)
|
||||
user.nil? ? User.find(2) : User.find_by_mail(mail)
|
||||
end
|
||||
|
||||
def render_properties(properties)
|
||||
|
|
Loading…
Reference in New Issue