From 0d49eb7a00914107127aa54d24dbf6703f8cfe80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Vachon?= Date: Thu, 30 Apr 2015 11:45:22 -0400 Subject: [PATCH] Routing to dashboard by default --- app/app.js | 2 +- app/components/sidebar/sidebar.html | 2 +- app/components/sidebar/sidebar.js | 2 +- app/routing_view/routing_view.js | 9 +++++---- 4 files changed, 8 insertions(+), 7 deletions(-) diff --git a/app/app.js b/app/app.js index 317ff2d..0b1a3eb 100644 --- a/app/app.js +++ b/app/app.js @@ -29,7 +29,7 @@ angular.module('bansho', [ ]) .config(['$routeProvider', function ($routeProvider) { - $routeProvider.otherwise({redirectTo: '/'}); + $routeProvider.otherwise({redirectTo: '/view'}); }]) // Reinitialise objects on url change diff --git a/app/components/sidebar/sidebar.html b/app/components/sidebar/sidebar.html index 8d6da0b..aadaa96 100644 --- a/app/components/sidebar/sidebar.html +++ b/app/components/sidebar/sidebar.html @@ -22,7 +22,7 @@