mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-04-03 06:59:14 +00:00
Adjust the regexp
This commit is contained in:
@@ -134,7 +134,7 @@ class Enterprise < ApplicationRecord
|
||||
}, allow_blank: true
|
||||
validate :validate_white_label_logo_link
|
||||
validates :external_billing_id,
|
||||
format: { with: /\A\S+\Z/ },
|
||||
format: { with: /\A\S+\z/ },
|
||||
allow_blank: true
|
||||
|
||||
before_validation :initialize_permalink, if: lambda { permalink.nil? }
|
||||
|
||||
Reference in New Issue
Block a user