0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-22 09:20:29 +01:00

Switch to using category_id instead of slug for open_composer

See further https://thepavilion.io/t/category-is-not-working-in-open-composer-action/3979/2
Dieser Commit ist enthalten in:
angusmcleod 2021-02-08 21:06:28 +11:00
Ursprung 6849c368f0
Commit d339130c34

Datei anzeigen

@ -273,9 +273,7 @@ class CustomWizard::Action
url += "&body=#{encode_query_param(params[:raw])}"
if category_id = action_category
if category = Category.find_by(id: category_id)
url += "&category=#{category.full_slug('/')}"
end
url += "&category_id=#{category_id}"
end
if tags = action_tags