mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06: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