Use expect for admin/ controllers (#33686)
This commit is contained in:
@@ -37,7 +37,8 @@ module Admin
|
||||
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 filter_params
|
||||
|
||||
Reference in New Issue
Block a user