Remove white list word

This commit is contained in:
Rafael França 2020-06-09 13:41:51 -04:00 committed by GitHub
parent df50341fe8
commit 56ab961dee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ class MessagesController < ApplicationController
@message = Message.find(params[:id])
end
# Only allow a trusted parameter "white list" through.
# Only allow a trusted parameter list through.
def message_params
params.require(:message).permit(:subject, :content)
end