Permalink
Browse files

Make "General" URL actually optional

  • Loading branch information...
1 parent edef018 commit cb2ea1034b2fa3236ba1f82ac2ee41151791e8ea @jamiecobbett jamiecobbett committed Nov 1, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/guard.rb
View
@@ -59,7 +59,7 @@ def self.validationsForCampaign(form_data)
#Tech issues
def self.validationsForGeneralIssues(form_data)
@@errors = {}
- required = ["name", "email", "job", "url"]
+ required = ["name", "email", "job"]
validate(form_data, required, {"phone" => form_data["phone"]}, {"email" => form_data["email"]})
@@errors

0 comments on commit cb2ea10

Please sign in to comment.