Fixing uploader
This commit is contained in:
parent
dd984fe2d8
commit
e8f7b66393
@ -2,7 +2,7 @@ class Wish < ActiveRecord::Base
|
||||
belongs_to :customer
|
||||
belongs_to :need
|
||||
|
||||
mount_uploader :devis
|
||||
mount_uploader :devis, WishDevisUploader
|
||||
|
||||
validates :devis, :presence => true
|
||||
validates :need, :presence => true
|
||||
|
Loading…
x
Reference in New Issue
Block a user