ui: Update route blueprint to use native classes and consul base route (#8967)

This commit is contained in:
John Cowen 2020-10-19 17:24:17 +01:00 committed by GitHub
parent 054483d5cf
commit 31e9998a5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 5 deletions

View File

@ -1,4 +0,0 @@
import Route from '@ember/routing/route';
export default Route.extend({
});

View File

@ -0,0 +1,4 @@
import Route from 'consul-ui/routing/route';
export default class <%= classifiedModuleName %>Route extends Route {
}

View File

@ -0,0 +1,5 @@
<Outlet
@name={{routeName}}
as |o|>
{{outlet}}
</Outlet>