From 74804696495b44afaa736b83dce835e2124813ca Mon Sep 17 00:00:00 2001 From: Anthony Truskinger Date: Fri, 6 Dec 2013 10:56:13 +1000 Subject: [PATCH] Fixes #18 --- src/app/navigation/navigation.tpl.html | 2 +- src/components/services/services.js | 4 ++-- src/index.html | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/app/navigation/navigation.tpl.html b/src/app/navigation/navigation.tpl.html index eaa80f33..e98d9a4d 100644 --- a/src/app/navigation/navigation.tpl.html +++ b/src/app/navigation/navigation.tpl.html @@ -1,6 +1,6 @@ diff --git a/src/components/services/services.js b/src/components/services/services.js index 9b34316e..eee266a8 100644 --- a/src/components/services/services.js +++ b/src/components/services/services.js @@ -223,7 +223,7 @@ }]); // breadcrumbs - from https://github.com/angular-app/angular-app/blob/master/client/src/common/services/breadcrumbs.js - bawss.factory('breadcrumbs', ['$rootScope', '$location', '$route', '$routeParams', function ($rootScope, $location, $route, $routeParams) { + bawss.factory('breadcrumbs', ['$rootScope', '$location', '$route', '$routeParams', 'conf.paths', function ($rootScope, $location, $route, $routeParams, paths) { var breadcrumbs = []; var breadcrumbsService = {}; @@ -304,7 +304,7 @@ } // add home as first item in result array - result.unshift({name: 'Home', path: '/', title: 'Home'}); + result.unshift({name: 'Home', path: paths.api.root, title: 'Home', target: "_self"}); breadcrumbs = result; }); diff --git a/src/index.html b/src/index.html index 7e7d9d69..8c4c14fa 100644 --- a/src/index.html +++ b/src/index.html @@ -29,12 +29,12 @@ - Bioacoustics Workbench + Bioacoustics Workbench