mirror of
https://github.com/discourse/discourse.git
synced 2025-03-02 02:39:56 +08:00
DEV: Use Discourse.getURL for creating URL
follow-up to ccb48bef7554ef4d6133d87472826e5f09cb1018
This commit is contained in:
parent
190b19f3c2
commit
671cec4bd2
@ -9,11 +9,12 @@ export default buildCategoryPanel("general", {
|
||||
canSelectParentCategory: Ember.computed.not(
|
||||
"category.isUncategorizedCategory"
|
||||
),
|
||||
uncategorizedSiteSettingLink:
|
||||
Discourse.BaseUri +
|
||||
"/admin/site_settings/category/all_results?filter=allow_uncategorized_topics",
|
||||
customizeTextContentLink:
|
||||
Discourse.BaseUri + "/admin/customize/site_texts?q=uncategorized",
|
||||
uncategorizedSiteSettingLink: Discourse.getURL(
|
||||
"/admin/site_settings/category/all_results?filter=allow_uncategorized_topics"
|
||||
),
|
||||
customizeTextContentLink: Discourse.getURL(
|
||||
"/admin/customize/site_texts?q=uncategorized"
|
||||
),
|
||||
|
||||
// background colors are available as a pipe-separated string
|
||||
@computed
|
||||
|
Loading…
x
Reference in New Issue
Block a user