1
0
Fork 0

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