app/models/wco/photo.rb in wco_models-3.1.0.44 vs app/models/wco/photo.rb in wco_models-3.1.0.45
- old
+ new
@@ -6,10 +6,10 @@
include Mongoid::Document
include Mongoid::Timestamps
include Mongoid::Paperclip
include Mongoid::Paranoia
include Wco::Utils
- store_in collection: 'wco_photos'
+ store_in collection: 'photos'
belongs_to :email_message, class_name: 'WcoEmail::Message', optional: true
belongs_to :gallery, class_name: 'Wco::Gallery', optional: true
belongs_to :lead, class_name: 'Wco::Lead', optional: true
# belongs_to :newsitem, :optional => true