summaryrefslogtreecommitdiff
path: root/app/models/pm.rb
blob: 8b06181aa42f439cec902746b2bb9cb1ed344017 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
class Pm < ActiveRecord::Base
	belongs_to :author, class_name: "User"
	belongs_to :recipient, class_name: "User"
	belongs_to :conversation

	def name
		return current_user.name
	end

=begin
	def mailboxer_email(email)
		return current_user.email
	end
=end
end