app/models/c80_estate/pphoto.rb in c80_estate-0.1.0.3 vs app/models/c80_estate/pphoto.rb in c80_estate-0.1.0.4
- old
+ new
@@ -1,5 +1,6 @@
module C80Estate
class Pphoto < ActiveRecord::Base
+ belongs_to :property
mount_uploader :image, PphotoUploader
end
end
\ No newline at end of file