summaryrefslogtreecommitdiff
path: root/help/app/models/ticket.rb
diff options
context:
space:
mode:
authorjessib <jessib@leap.se>2013-01-03 11:22:56 -0800
committerjessib <jessib@leap.se>2013-01-03 11:22:56 -0800
commite6496b0f45cc0b487da7cb35a34b8e79037034c0 (patch)
tree32ab9f499002993b67b23621fedc0d461d5bb84a /help/app/models/ticket.rb
parent8b6c66af53a1f7e8c4300c17dc226eaef74a89d3 (diff)
Removed unnecessary comment.
Diffstat (limited to 'help/app/models/ticket.rb')
-rw-r--r--help/app/models/ticket.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/help/app/models/ticket.rb b/help/app/models/ticket.rb
index ef7b2d6..a27a9d4 100644
--- a/help/app/models/ticket.rb
+++ b/help/app/models/ticket.rb
@@ -55,7 +55,7 @@ class Ticket < CouchRest::Model::Base
# html5 has built-in validation which isn't ideal, as it says 'please enter an email address' for invalid email addresses, which implies an email address is required, and it is not.
- validates :email, :allow_blank => true, :format => /\A([^@\s]+)@((?:[-a-z0-9]+\.)+[a-z]{2,})\Z/ #email address is optional
+ validates :email, :allow_blank => true, :format => /\A([^@\s]+)@((?:[-a-z0-9]+\.)+[a-z]{2,})\Z/
#TODO:
#def set_created_by