mirror of
https://github.com/mastodon/mastodon.git
synced 2025-07-15 08:48:15 +00:00
Fix URL query param access
This commit is contained in:
parent
5b98c1ba42
commit
3f8b83ee59
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user