Merge branch 'august_spring' of bitbucket.org:code2lab/sxrestaurant
This commit is contained in:
3
app/models/product.rb
Normal file
3
app/models/product.rb
Normal file
@@ -0,0 +1,3 @@
|
||||
class Product < ApplicationRecord
|
||||
validates_presence_of :name
|
||||
end
|
||||
2
app/models/promotion.rb
Normal file
2
app/models/promotion.rb
Normal file
@@ -0,0 +1,2 @@
|
||||
class Promotion < ApplicationRecord
|
||||
end
|
||||
Reference in New Issue
Block a user