ui: Fixup route blueprint to reflect project conventions (#11153)

This commit is contained in:
John Cowen 2021-10-13 14:58:04 +01:00 committed by GitHub
parent c7afdde25d
commit 1d6b1d0c87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 8 deletions

View File

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

View File

@ -1,5 +1,12 @@
<Outlet
<Route
@name={{routeName}}
as |o|>
{{outlet}}
</Outlet>
as |route|>
<route.Title @title="<%= classifiedModuleName %>" />
<Outlet
@name={{routeName}}
as |o|>
{{outlet}}
</Outlet>
</Route>