Bare-bones RS client
This commit is contained in:
13
app/routes/application.ts
Normal file
13
app/routes/application.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import Route from '@ember/routing/route';
|
||||
import { inject as service } from '@ember/service';
|
||||
import Storage from 'dashtab/services/storage';
|
||||
|
||||
export default class Application extends Route.extend({
|
||||
// anything which *must* be merged to prototype here
|
||||
}) {
|
||||
@service storage!: Storage;
|
||||
|
||||
beforeModel() {
|
||||
this.storage.initialize();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user