mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FEATURE: serialize and update category custom_fields
- send to client - update from client
This commit is contained in:
@@ -146,6 +146,7 @@ class CategoriesController < ApplicationController
|
||||
:background_url,
|
||||
:allow_badges,
|
||||
:slug,
|
||||
:custom_fields => [params[:custom_fields].try(:keys)],
|
||||
:permissions => [*p.try(:keys)])
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user