diff options
author | nfoy <nfoy@purdue.edu> | 2014-04-26 20:57:21 -0400 |
---|---|---|
committer | nfoy <nfoy@purdue.edu> | 2014-04-26 20:57:21 -0400 |
commit | 00f3d70445d7cae0976ec9794e555c52a1765b24 (patch) | |
tree | 7a89dcf1466ad8b2fd3df587f1807ba9dfc08468 /app/controllers | |
parent | d5e4ac14fc51631f5cd77ba4226ba5911ffe7e37 (diff) |
Messages is working (besides default permissions)!
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/pms_controller.rb | 1 |
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 |