mirror of
https://github.com/discourse/discourse.git
synced 2025-01-17 06:02:46 +08:00
9ffbf93aa7
Create a basic config page that only contains security-related settings, to replace the "security" category view linked to from "Security settings" in the admin sidebar.
9 lines
240 B
JavaScript
9 lines
240 B
JavaScript
import DiscourseRoute from "discourse/routes/discourse";
|
|
import { i18n } from "discourse-i18n";
|
|
|
|
export default class AdminConfigSpamRoute extends DiscourseRoute {
|
|
titleToken() {
|
|
return i18n("admin.security.sidebar_link.spam");
|
|
}
|
|
}
|