|
|
@ -35,7 +35,7 @@ app.config(['$routeProvider',"$httpProvider", "$locationProvider",'config', func
|
|
|
|
.when('/edit_class', makeRoute('edit_class.html', 'EditClassController'))
|
|
|
|
.when('/edit_class', makeRoute('edit_class.html', 'EditClassController'))
|
|
|
|
.when('/class_list', makeRoute('class_list.html', 'ClassListController'))
|
|
|
|
.when('/class_list', makeRoute('class_list.html', 'ClassListController'))
|
|
|
|
.when('/myresource', makeRoute('myresource.html', 'MyResourceController'))
|
|
|
|
.when('/myresource', makeRoute('myresource.html', 'MyResourceController'))
|
|
|
|
.when('/invite_code', makeRoute('invite_code.html', 'InviteCodeController'))
|
|
|
|
.when('/invite_code', {templateUrl: rootPath + 'invite_code.html', controller: 'InviteCodeController'})
|
|
|
|
.when('/send_class_list', makeRoute('send_class_list.html', 'SendClassListController'))
|
|
|
|
.when('/send_class_list', makeRoute('send_class_list.html', 'SendClassListController'))
|
|
|
|
.otherwise({
|
|
|
|
.otherwise({
|
|
|
|
redirectTo: '/activites'
|
|
|
|
redirectTo: '/activites'
|
|
|
|