app/models/phcpress/blog/post.rb in phcpress-2.9.5 vs app/models/phcpress/blog/post.rb in phcpress-3.0.1
- old
+ new
@@ -3,9 +3,9 @@
# 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