Skip to content

Commit

Permalink
Update wording of zipcode requirement comment
Browse files Browse the repository at this point in the history
The `require_zipcode?` method does not check for validity, only presence.
  • Loading branch information
seand7565 committed Jul 27, 2020
1 parent 18330b5 commit 75cefe4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/app/models/spree/address.rb
Expand Up @@ -158,7 +158,7 @@ def require_phone?
end

# @todo Remove this from the public API if possible.
# @return [true] whether or not the address requires a zipcode to be valid
# @return [true] whether or not the address requires a zipcode to be present
def require_zipcode?
true
end
Expand Down

0 comments on commit 75cefe4

Please sign in to comment.