discourse/app/assets/javascripts/admin/addon/routes/admin-config-spam.js
Gary Pendergast 9ffbf93aa7
UX: Admin setting page consistency - Spam (#30606)
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.
2025-01-07 15:17:15 +11:00

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");
}
}