Sha256: 0448f10d61662126fb539c672b2a2be00ec03dfcb3d7cb2460f0f448fed57a4f

Contents?: true

Size: 231 Bytes

Versions: 4

Compression:

Stored size: 231 Bytes

Contents

module Phcpresspro
	class Blog::Post < ApplicationRecord

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

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

	end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
phcpresspro-3.0.3 app/models/phcpresspro/blog/post.rb
phcpresspro-3.0.2 app/models/phcpresspro/blog/post.rb
phcpresspro-3.0.1 app/models/phcpresspro/blog/post.rb
phcpresspro-3.0.0 app/models/phcpresspro/blog/post.rb