diff options
author | DavisLWebb <davislwebb@ymail.com> | 2014-02-20 17:13:51 -0500 |
---|---|---|
committer | DavisLWebb <davislwebb@ymail.com> | 2014-02-20 17:13:51 -0500 |
commit | cd1fabe40ca4d290df33a2590f3a1f2072103972 (patch) | |
tree | 98afd236e1d14e892602304e739fc65d450a43fd /app/controllers/pms_controller.rb | |
parent | c14d0327a631a4321464c7c1e250d75458e13f49 (diff) |
fix datatype names in generate.sh
Diffstat (limited to 'app/controllers/pms_controller.rb')
-rw-r--r-- | app/controllers/pms_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/pms_controller.rb b/app/controllers/pms_controller.rb index 6eb94f9..5dd0d69 100644 --- a/app/controllers/pms_controller.rb +++ b/app/controllers/pms_controller.rb @@ -69,6 +69,6 @@ class PmsController < ApplicationController # Never trust parameters from the scary internet, only allow the white list through. def pm_params - params.require(:pm).permit(:author, :recipient, :message) + params.require(:pm).permit(:author_id, :recipient_id, :message) end end |