mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 18:22:40 +08:00
REFACTOR: Rename store:main
to service:store
so we can inject it
This commit is contained in:
@ -33,7 +33,7 @@ export default function(name, opts) {
|
||||
{ instantiate: false });
|
||||
}
|
||||
|
||||
this.registry.register('store:main', store, { instantiate: false });
|
||||
this.registry.register('service:store', store, { instantiate: false });
|
||||
|
||||
if (opts.beforeEach) {
|
||||
opts.beforeEach.call(this, store);
|
||||
|
Reference in New Issue
Block a user