discourse/app/assets/javascripts/admin/addon/adapters/user-field.js
Martin Brennan 5711bf6f27
DEV: Move admin config pages out of /customize/ sub-route (#30511)
The customize routes add CSS classes that make these admin
config pages look different from the ones under /admin/config.
We want all config routes to be under /admin/config as well.

This commit moves the emoji, user fields, and permalinks pages
out of customize and into config, updating all references and
adding more rails routes as needed.

Also renames admin emojis route to emoji, emoji is singular and plural.
2025-01-02 09:13:11 +10:00

8 lines
162 B
JavaScript

import RestAdapter from "discourse/adapters/rest";
export default class UserFieldAdapter extends RestAdapter {
basePath() {
return "/admin/config/";
}
}