diff options
author | Luke Shumaker <shumakl@purdue.edu> | 2014-04-26 21:12:06 -0400 |
---|---|---|
committer | Luke Shumaker <shumakl@purdue.edu> | 2014-04-26 21:12:06 -0400 |
commit | 2c1e5ab5e7b20dabec9ddb9b34e0cf534afc6d06 (patch) | |
tree | c47e8dbc1f4c80ef9bd4531fd7f0de3f0e30c9ca /app/controllers/pms_controller.rb | |
parent | edb9e6a59459b42acb8dc751044d51c70e81429c (diff) | |
parent | f156d56096e08254a249304b68ae0cb433ef9db3 (diff) |
Merge branch 'master' of https://github.com/LukeShu/leaguer
Diffstat (limited to 'app/controllers/pms_controller.rb')
-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 |