Fix URL query param access

This commit is contained in:
Sebastian Hädrich 2025-06-22 02:24:29 +02:00 committed by GitHub
parent 5b98c1ba42
commit 3f8b83ee59
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -12,7 +12,7 @@ class FiltersController < ApplicationController
def new
@filter = current_account.custom_filters.build(action: :warn)
@filter.keywords.build(params[:keywords])
@filter.keywords.build(params.dig(:custom_filter, :keywords_attributes))
end
def edit; end