mirror of
https://github.com/danbee/danbarberphoto
synced 2025-03-04 08:49:07 +00:00
Move email validator to /app/validators.
This commit is contained in:
parent
e8e89ebc8b
commit
39912ecec5
@ -1,5 +1,3 @@
|
|||||||
require 'email_validator'
|
|
||||||
|
|
||||||
class Contact
|
class Contact
|
||||||
include ActiveModel::Validations
|
include ActiveModel::Validations
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user