From fe7277bdd745c1c1dd196445fd1b80a70ac55ef6 Mon Sep 17 00:00:00 2001 From: Alexis Lahouze Date: Wed, 17 Feb 2016 09:17:32 +0100 Subject: [PATCH] Fix paths. --- accountant/frontend/static/index.html | 62 +++++++++++++-------------- accountant/frontend/static/js/app.js | 6 +-- 2 files changed, 34 insertions(+), 34 deletions(-) diff --git a/accountant/frontend/static/index.html b/accountant/frontend/static/index.html index d57541d..b2bd978 100644 --- a/accountant/frontend/static/index.html +++ b/accountant/frontend/static/index.html @@ -24,16 +24,16 @@ Accountant - - + + - - - - - + + + + + @@ -55,33 +55,33 @@ - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + - - - - - + + + + + diff --git a/accountant/frontend/static/js/app.js b/accountant/frontend/static/js/app.js index b2dd1b8..1a2f2f8 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/views/operations.html', + templateUrl: 'views/operations.html', controller: 'OperationController', controllerAs: 'operationsCtrl' }) .when('/account/:accountId/scheduler', { - templateUrl: 'static/views/scheduler.html', + templateUrl: 'views/scheduler.html', controller: 'SchedulerController', controllerAs: 'schedulerCtrl' }) .when('/accounts', { - templateUrl: 'static/views/accounts.html', + templateUrl: 'views/accounts.html', controller: 'AccountController', controllerAs: 'accountsCtrl' })