Skip to content

Commit

Permalink
Make "General" URL actually optional
Browse files Browse the repository at this point in the history
  • Loading branch information
jamiecobbett committed Nov 1, 2012
1 parent edef018 commit cb2ea10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/guard.rb
Expand Up @@ -59,7 +59,7 @@ def self.validationsForCampaign(form_data)
#Tech issues #Tech issues
def self.validationsForGeneralIssues(form_data) def self.validationsForGeneralIssues(form_data)
@@errors = {} @@errors = {}
required = ["name", "email", "job", "url"] required = ["name", "email", "job"]
validate(form_data, required, {"phone" => form_data["phone"]}, {"email" => form_data["email"]}) validate(form_data, required, {"phone" => form_data["phone"]}, {"email" => form_data["email"]})


@@errors @@errors
Expand Down

0 comments on commit cb2ea10

Please sign in to comment.