Fix template paths.

This commit is contained in:
Alexis Lahouze 2017-06-10 18:03:08 +02:00
parent a9c45119d6
commit c8cfed2018
2 changed files with 5 additions and 5 deletions

View File

@ -240,7 +240,7 @@ var accountModule = angular.module('accountant.accounts', [
$ngBootbox.customDialog({
scope: scope,
title: title,
templateUrl: 'views/account.form.tmpl.html',
templateUrl: '/views/account.form.tmpl.html',
onEscape: true,
buttons: {
save: {

View File

@ -82,17 +82,17 @@ var app = angular.module('accountant', [
// Defining template and controller in function of route.
$routeProvider
.when('/account/:accountId/operations', {
templateUrl: 'views/operations.html',
templateUrl: '/views/operations.html',
controller: 'OperationController',
controllerAs: 'operationsCtrl'
})
.when('/account/:accountId/scheduler', {
templateUrl: 'views/scheduler.html',
templateUrl: '/views/scheduler.html',
controller: 'SchedulerController',
controllerAs: 'schedulerCtrl'
})
.when('/accounts', {
templateUrl: 'views/accounts.html',
templateUrl: '/views/accounts.html',
controller: 'AccountController',
controllerAs: 'accountsCtrl'
})
@ -149,7 +149,7 @@ var app = angular.module('accountant', [
$ngBootbox.customDialog({
title: 'Authentification requise',
templateUrl: 'views/login.tmpl.html',
templateUrl: '/views/login.tmpl.html',
buttons: {
login: {
label: 'Login',