app/models/phcpress/blog/post.rb in phcpress-2.8.6 vs app/models/phcpress/blog/post.rb in phcpress-2.8.7

- old
+ new

@@ -6,10 +6,10 @@ # For Image Uploads mount_uploader :pstimage, Phcpress::PstimageUploader # Associate Post Authour to User - belongs_to :user + belongs_to :user, class_name: 'Devise:User' # Define r Devise def authour self.user_id = current_user.id end