mirror of https://github.com/rails/rails
Remove white list word
This commit is contained in:
parent
df50341fe8
commit
56ab961dee
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue