Use expect
in remaining controller locations (#33748)
This commit is contained in:
parent
ea743d68f3
commit
93f3c724ae
9 changed files with 72 additions and 5 deletions
|
@ -36,7 +36,7 @@ class RelationshipsController < ApplicationController
|
|||
end
|
||||
|
||||
def form_account_batch_params
|
||||
params.require(:form_account_batch).permit(:action, account_ids: [])
|
||||
params.expect(form_account_batch: [:action, account_ids: []])
|
||||
end
|
||||
|
||||
def following_relationship?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue