mirror of
https://github.com/discourse/discourse.git
synced 2025-05-29 01:31:35 +08:00
REFACTOR: Migrate screenTrack
to a service
This commit is contained in:
@ -14,6 +14,7 @@ moduleFor("controller:topic", "controller:topic", {
|
||||
"service:document-title"
|
||||
],
|
||||
beforeEach() {
|
||||
this.registry.register("service:screen-track", {}, { instantiate: false });
|
||||
this.registry.injection("controller", "appEvents", "service:app-events");
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user