mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-01-17 12:52:22 +01:00
24 lines
441 B
JavaScript
24 lines
441 B
JavaScript
(function () {
|
|
'use strict';
|
|
|
|
angular
|
|
.module('forums.routes')
|
|
.config(routeConfig);
|
|
|
|
routeConfig.$inject = ['$stateProvider'];
|
|
|
|
function routeConfig($stateProvider) {
|
|
$stateProvider
|
|
.state('forums', {
|
|
url: '/forums',
|
|
templateUrl: '',
|
|
controller: '',
|
|
controllerAs: '',
|
|
data: {
|
|
//roles: ['user', 'admin'],
|
|
pageTitle: 'Forums'
|
|
}
|
|
});
|
|
}
|
|
}());
|