app/models/phcpress/news/post.rb in phcpress-3.7.6 vs app/models/phcpress/news/post.rb in phcpress-3.7.7
- old
+ new
@@ -3,9 +3,9 @@
# For Image Uploads
mount_uploader :pstimage, Phcpress::PstimageUploader
# Associate Post Authour to User
- belongs_to :user
+ belongs_to :user, class_name: 'Phcengine::User'
end
end