mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-24 05:38:52 +00:00
add selector for distributor in checkout. Not saving relation as yet.
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
module Spree
|
||||
class Distributor < ActiveRecord::Base
|
||||
set_table_name 'distributors'
|
||||
|
||||
validates :name, :pickup_address, :presence => true
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user