TG-119 : change userSpace to studentSpace
This commit is contained in:
parent
a76d7a9604
commit
c8352cc37c
@ -52,7 +52,7 @@
|
||||
<!-- build:js({.tmp,app}) scripts/scripts.js -->
|
||||
<script src="scripts/app.js"></script>
|
||||
<script src="scripts/controllers/login.js"></script>
|
||||
<script src="scripts/controllers/userSpace.js"></script>
|
||||
<script src="scripts/controllers/studentSpace.js"></script>
|
||||
<!-- endbuild -->
|
||||
</body>
|
||||
</html>
|
||||
|
@ -32,9 +32,9 @@ app.config(function ($stateProvider, $urlRouterProvider) {
|
||||
controller: 'LoginCtrl'
|
||||
})
|
||||
|
||||
.state('userspace', {
|
||||
.state('studentSpace', {
|
||||
url: '/espace-etudiant',
|
||||
templateUrl: 'views/userSpace.html',
|
||||
controller: 'UserSpaceCtrl'
|
||||
templateUrl: 'views/studentSpace.html',
|
||||
controller: 'StudentSpaceCtrl'
|
||||
});
|
||||
});
|
@ -18,7 +18,7 @@
|
||||
function login() {
|
||||
console.log('login');
|
||||
|
||||
$state.go('userspace');
|
||||
$state.go('studentSpace');
|
||||
}
|
||||
|
||||
// Private methods ------------------
|
||||
|
@ -2,7 +2,7 @@
|
||||
'use strict';
|
||||
|
||||
angular.module('clientApp')
|
||||
.controller('UserSpaceCtrl', ['$scope', '$state',
|
||||
.controller('StudentSpaceCtrl', ['$scope', '$state',
|
||||
function ($scope, $state) {
|
||||
|
||||
$scope.toggleAccordion = toggleAccordion;
|
Reference in New Issue
Block a user