summaryrefslogtreecommitdiff
path: root/app/controllers/pms_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/pms_controller.rb')
-rw-r--r--app/controllers/pms_controller.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/pms_controller.rb b/app/controllers/pms_controller.rb
index c83d2ae..3368663 100644
--- a/app/controllers/pms_controller.rb
+++ b/app/controllers/pms_controller.rb
@@ -57,6 +57,7 @@ class PmsController < ApplicationController
format.json { render json: @pm.errors, status: :unprocessable_entity }
end
end
+ current_user.reply_to_conversation(@pm.conversation, @pm.message)
end
# DELETE /pms/1