mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-24 05:35:46 +08:00
Merge remote-tracking branch 'gitlink/featrue_login_and_register' into standalone_develop
This commit is contained in:
@@ -469,5 +469,9 @@ module ApplicationHelper
|
||||
def phone_mail_type value
|
||||
value =~ /^1\d{10}$/ ? 1 : 0
|
||||
end
|
||||
|
||||
def strip(str)
|
||||
str.to_s.strip.presence
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user