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/alerts_controller.rb | |
parent | c14d0327a631a4321464c7c1e250d75458e13f49 (diff) |
fix datatype names in generate.sh
Diffstat (limited to 'app/controllers/alerts_controller.rb')
-rw-r--r-- | app/controllers/alerts_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/alerts_controller.rb b/app/controllers/alerts_controller.rb index e6158f4..873e9b7 100644 --- a/app/controllers/alerts_controller.rb +++ b/app/controllers/alerts_controller.rb @@ -69,6 +69,6 @@ class AlertsController < ApplicationController # Never trust parameters from the scary internet, only allow the white list through. def alert_params - params.require(:alert).permit(:author, :message) + params.require(:alert).permit(:author_id, :message) end end |