diff --git a/accountant/frontend/static/js/app.js b/accountant/frontend/static/js/app.js index e50e671..b2dd1b8 100644 --- a/accountant/frontend/static/js/app.js +++ b/accountant/frontend/static/js/app.js @@ -54,17 +54,17 @@ angular.module('accountant', [ // Defining template and controller in function of route. $routeProvider .when('/account/:accountId/operations', { - templateUrl: 'static/templates/operations.html', + templateUrl: 'static/views/operations.html', controller: 'OperationController', controllerAs: 'operationsCtrl' }) .when('/account/:accountId/scheduler', { - templateUrl: 'static/templates/scheduler.html', + templateUrl: 'static/views/scheduler.html', controller: 'SchedulerController', controllerAs: 'schedulerCtrl' }) .when('/accounts', { - templateUrl: 'static/templates/accounts.html', + templateUrl: 'static/views/accounts.html', controller: 'AccountController', controllerAs: 'accountsCtrl' }) diff --git a/accountant/frontend/static/templates/accounts.html b/accountant/frontend/static/views/accounts.html similarity index 100% rename from accountant/frontend/static/templates/accounts.html rename to accountant/frontend/static/views/accounts.html diff --git a/accountant/frontend/static/templates/operations.html b/accountant/frontend/static/views/operations.html similarity index 100% rename from accountant/frontend/static/templates/operations.html rename to accountant/frontend/static/views/operations.html diff --git a/accountant/frontend/static/templates/scheduler.html b/accountant/frontend/static/views/scheduler.html similarity index 100% rename from accountant/frontend/static/templates/scheduler.html rename to accountant/frontend/static/views/scheduler.html