DEV: unsilence deprecate-implicit-route-model (#27550)

* DEV: unsilence ember deprecation id deprecate-implicit-route-model
This commit is contained in:
Kelv 2024-06-20 17:05:19 +08:00 committed by GitHub
parent 2301dddcff
commit e46a5e5343
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 5 deletions

View File

@ -1,6 +1,13 @@
import { service } from "@ember/service";
import DiscourseRoute from "discourse/routes/discourse";
export default class ReviewShow extends DiscourseRoute {
@service store;
model({ reviewable_id }) {
return this.store.find("reviewable", reviewable_id);
}
setupController(controller, model) {
controller.set("reviewable", model);
}

View File

@ -13,10 +13,5 @@ globalThis.deprecationWorkflow.config = {
handler: "silence",
matchId: "discourse.decorate-widget.hamburger-widget-links",
},
{
// From: Ember 5.3. Until: Ember 6.0
handler: "silence",
matchId: "deprecate-implicit-route-model",
},
],
};