mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 20:00:49 +08:00
init project
This commit is contained in:
9
app/forms/validate/user_extension.rb
Normal file
9
app/forms/validate/user_extension.rb
Normal file
@@ -0,0 +1,9 @@
|
||||
module Validate
|
||||
class UserExtension
|
||||
include ActiveModel::Model
|
||||
attr_accessor :location
|
||||
|
||||
validates :location, presence: true
|
||||
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user