DEV: unsilence deprecate-implicit-route-model (#27550)
* DEV: unsilence ember deprecation id deprecate-implicit-route-model
This commit is contained in:
parent
2301dddcff
commit
e46a5e5343
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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",
|
||||
},
|
||||
],
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue