mirror of
https://github.com/mastodon/mastodon.git
synced 2025-07-15 08:48:15 +00:00
Pass pre-filled URL query params to keywords association build
to be pre-filled into the creation form
This commit is contained in:
parent
6af65171f8
commit
5b98c1ba42
|
@ -12,7 +12,7 @@ class FiltersController < ApplicationController
|
|||
|
||||
def new
|
||||
@filter = current_account.custom_filters.build(action: :warn)
|
||||
@filter.keywords.build
|
||||
@filter.keywords.build(params[:keywords])
|
||||
end
|
||||
|
||||
def edit; end
|
||||
|
|
Loading…
Reference in New Issue
Block a user