Sha256: 59fca6d39ffe452602c22b490bef896e90b9124d5b29f2e9ee43a927891bc730

Contents?: true

Size: 234 Bytes

Versions: 2

Compression:

Stored size: 234 Bytes

Contents

module Phcpresspro
	class Blog::Post < ApplicationRecord

		# For Image Uploads
		mount_uploader :pstimage, Phcpresspro::PstimageUploader

		# Associate Post Authour to User
		belongs_to :user, class_name: 'Phcengine::User'

	end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
phcpresspro-3.0.5 app/models/phcpresspro/blog/post.rb
phcpresspro-3.0.4 app/models/phcpresspro/blog/post.rb