Commit d2b0bad1 by Torkel Ödegaard

fix(): fixed changed partials paths

parent ece8a925
...@@ -49,19 +49,19 @@ function setupAngularRoutes($routeProvider, $locationProvider) { ...@@ -49,19 +49,19 @@ function setupAngularRoutes($routeProvider, $locationProvider) {
controller : 'DashboardImportCtrl', controller : 'DashboardImportCtrl',
}) })
.when('/datasources', { .when('/datasources', {
templateUrl: 'public/app/features/datasources/partials/list.html', templateUrl: 'public/app/features/plugins/partials/ds_list.html',
controller : 'DataSourcesCtrl', controller : 'DataSourcesCtrl',
controllerAs: 'ctrl', controllerAs: 'ctrl',
resolve: loadPluginsBundle, resolve: loadPluginsBundle,
}) })
.when('/datasources/edit/:id', { .when('/datasources/edit/:id', {
templateUrl: 'public/app/features/datasources/partials/edit.html', templateUrl: 'public/app/features/plugins/partials/ds_edit.html',
controller : 'DataSourceEditCtrl', controller : 'DataSourceEditCtrl',
controllerAs: 'ctrl', controllerAs: 'ctrl',
resolve: loadPluginsBundle, resolve: loadPluginsBundle,
}) })
.when('/datasources/new', { .when('/datasources/new', {
templateUrl: 'public/app/features/datasources/partials/edit.html', templateUrl: 'public/app/features/plugins/partials/ds_edit.html',
controller : 'DataSourceEditCtrl', controller : 'DataSourceEditCtrl',
controllerAs: 'ctrl', controllerAs: 'ctrl',
resolve: loadPluginsBundle, resolve: loadPluginsBundle,
...@@ -168,19 +168,19 @@ function setupAngularRoutes($routeProvider, $locationProvider) { ...@@ -168,19 +168,19 @@ function setupAngularRoutes($routeProvider, $locationProvider) {
controllerAs: 'ctrl', controllerAs: 'ctrl',
}) })
.when('/plugins', { .when('/plugins', {
templateUrl: 'public/app/features/plugins/partials/list.html', templateUrl: 'public/app/features/plugins/partials/plugin_list.html',
controller: 'PluginListCtrl', controller: 'PluginListCtrl',
controllerAs: 'ctrl', controllerAs: 'ctrl',
resolve: loadPluginsBundle, resolve: loadPluginsBundle,
}) })
.when('/plugins/:pluginId/edit', { .when('/plugins/:pluginId/edit', {
templateUrl: 'public/app/features/plugins/partials/edit.html', templateUrl: 'public/app/features/plugins/partials/plugin_edit.html',
controller: 'PluginEditCtrl', controller: 'PluginEditCtrl',
controllerAs: 'ctrl', controllerAs: 'ctrl',
resolve: loadPluginsBundle, resolve: loadPluginsBundle,
}) })
.when('/plugins/:pluginId/page/:slug', { .when('/plugins/:pluginId/page/:slug', {
templateUrl: 'public/app/features/plugins/partials/page.html', templateUrl: 'public/app/features/plugins/partials/plugin_page.html',
controller: 'AppPageCtrl', controller: 'AppPageCtrl',
controllerAs: 'ctrl', controllerAs: 'ctrl',
resolve: loadPluginsBundle, resolve: loadPluginsBundle,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment