mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-25 01:13:26 +08:00
This change does two things: Modernizes the admin badges UI implementation. (Routes + controllers → components + services.) Adds a Settings tab to the new badges page. For all intents and purposes, this change is a lift-and-shift modernization. The addition of the settings tab is trivial once that is covered.
8 lines
247 B
Text
Vendored
8 lines
247 B
Text
Vendored
import RouteTemplate from "ember-route-template";
|
|
import AdminBadgesShow from "admin/components/admin-badges-show";
|
|
|
|
export default RouteTemplate(
|
|
<template>
|
|
<AdminBadgesShow @controller={{@controller}} @badge={{@model}} />
|
|
</template>
|
|
);
|