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