mirror of
https://github.com/discourse/discourse.git
synced 2025-05-28 13:51:18 +08:00
UX: admins embedding page follows admin ux guideline (#30122)
Conversion of /admin/customize/embedding page to follow admin UX guidelines.
This commit is contained in:

committed by
GitHub

parent
02113fc22a
commit
407fa69778
@ -26,7 +26,7 @@ class Admin::EmbeddableHostsController < Admin::AdminController
|
||||
host.host = params[:embeddable_host][:host]
|
||||
host.allowed_paths = params[:embeddable_host][:allowed_paths]
|
||||
host.category_id = params[:embeddable_host][:category_id]
|
||||
host.category_id = SiteSetting.uncategorized_category_id if host.category_id.blank?
|
||||
host.category_id = SiteSetting.uncategorized_category_id if host.category.blank?
|
||||
|
||||
username = params[:embeddable_host][:user]
|
||||
|
||||
|
Reference in New Issue
Block a user