diff --git a/templates/js/app.js b/templates/js/app.js index d0cf73f..9ee231c 100644 --- a/templates/js/app.js +++ b/templates/js/app.js @@ -53,6 +53,10 @@ app.config(['$routeProvider', '$locationProvider', .when('/tasks/new', { templateUrl: 'templates/views/newTask.html', controller: 'newTasksController' + }) + .when('/projects', { + templateUrl: 'templates/views/projects.html', + controller: 'projectsController' }); } ]); diff --git a/templates/js/controllers/mainController.js b/templates/js/controllers/mainController.js index 8d6e5ba..f2e7e1e 100644 --- a/templates/js/controllers/mainController.js +++ b/templates/js/controllers/mainController.js @@ -48,7 +48,7 @@ angular.module('SeHub') "title": "My Projects", "icon": "fa fa-cube", "style": "", - "route": "/campuses" + "route": "/projects" }, { "title": "Tasks", "icon": "fa fa-clipboard", diff --git a/templates/views/home.html b/templates/views/home.html index 53e6fd5..8f8902f 100644 --- a/templates/views/home.html +++ b/templates/views/home.html @@ -112,55 +112,56 @@