From ffb710a6ba8194752e857ec60e1d275054ffd5e6 Mon Sep 17 00:00:00 2001 From: John Cowen Date: Mon, 19 Oct 2020 17:24:17 +0100 Subject: [PATCH] ui: Update route blueprint to use native classes and consul base route (#8967) --- ui-v2/blueprints/route/files/__root__/__path__/__name__.js | 4 ---- .../files/__root__/__templatepath__/__templatename__.hbs | 1 - .../route/native-files/__root__/__path__/__name__.js | 4 ++++ .../__root__/__templatepath__/__templatename__.hbs | 5 +++++ 4 files changed, 9 insertions(+), 5 deletions(-) delete mode 100644 ui-v2/blueprints/route/files/__root__/__path__/__name__.js delete mode 100644 ui-v2/blueprints/route/files/__root__/__templatepath__/__templatename__.hbs create mode 100644 ui-v2/blueprints/route/native-files/__root__/__path__/__name__.js create mode 100644 ui-v2/blueprints/route/native-files/__root__/__templatepath__/__templatename__.hbs diff --git a/ui-v2/blueprints/route/files/__root__/__path__/__name__.js b/ui-v2/blueprints/route/files/__root__/__path__/__name__.js deleted file mode 100644 index 6c74252aa1..0000000000 --- a/ui-v2/blueprints/route/files/__root__/__path__/__name__.js +++ /dev/null @@ -1,4 +0,0 @@ -import Route from '@ember/routing/route'; - -export default Route.extend({ -}); diff --git a/ui-v2/blueprints/route/files/__root__/__templatepath__/__templatename__.hbs b/ui-v2/blueprints/route/files/__root__/__templatepath__/__templatename__.hbs deleted file mode 100644 index e2147cab02..0000000000 --- a/ui-v2/blueprints/route/files/__root__/__templatepath__/__templatename__.hbs +++ /dev/null @@ -1 +0,0 @@ -{{outlet}} \ No newline at end of file diff --git a/ui-v2/blueprints/route/native-files/__root__/__path__/__name__.js b/ui-v2/blueprints/route/native-files/__root__/__path__/__name__.js new file mode 100644 index 0000000000..020fefd1ee --- /dev/null +++ b/ui-v2/blueprints/route/native-files/__root__/__path__/__name__.js @@ -0,0 +1,4 @@ +import Route from 'consul-ui/routing/route'; + +export default class <%= classifiedModuleName %>Route extends Route { +} diff --git a/ui-v2/blueprints/route/native-files/__root__/__templatepath__/__templatename__.hbs b/ui-v2/blueprints/route/native-files/__root__/__templatepath__/__templatename__.hbs new file mode 100644 index 0000000000..2929fdf923 --- /dev/null +++ b/ui-v2/blueprints/route/native-files/__root__/__templatepath__/__templatename__.hbs @@ -0,0 +1,5 @@ + + {{outlet}} + \ No newline at end of file