mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
made it possible to have frontend code in symlinked folders that can add routes
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import './dashboard_loaders';
|
||||
import './ReactContainer';
|
||||
import '../extensions';
|
||||
import { applyRouteRegistrationHandlers } from './registry';
|
||||
|
||||
import ServerStats from 'app/features/admin/ServerStats';
|
||||
import AlertRuleList from 'app/features/alerting/AlertRuleList';
|
||||
@@ -226,11 +226,6 @@ export function setupAngularRoutes($routeProvider, $locationProvider) {
|
||||
component: () => ServerStats,
|
||||
},
|
||||
})
|
||||
.when('/admin/licensing', {
|
||||
templateUrl: 'public/app/features/admin/partials/licensing.html',
|
||||
controller: 'AdminLicensingCtrl',
|
||||
controllerAs: 'ctrl',
|
||||
})
|
||||
// LOGIN / SIGNUP
|
||||
.when('/login', {
|
||||
templateUrl: 'public/app/partials/login.html',
|
||||
@@ -312,4 +307,6 @@ export function setupAngularRoutes($routeProvider, $locationProvider) {
|
||||
templateUrl: 'public/app/partials/error.html',
|
||||
controller: 'ErrorCtrl',
|
||||
});
|
||||
|
||||
applyRouteRegistrationHandlers($routeProvider);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user