mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-01-15 11:52:23 +01:00
22 lines
457 B
JavaScript
22 lines
457 B
JavaScript
(function () {
|
|
'use strict';
|
|
|
|
angular
|
|
.module('forums.routes')
|
|
.config(routeConfig);
|
|
|
|
routeConfig.$inject = ['$stateProvider'];
|
|
|
|
function routeConfig($stateProvider) {
|
|
$stateProvider
|
|
.state('forums', {
|
|
url: '/forums',
|
|
templateUrl: '/modules/forums/client/views/index.client.view.html',
|
|
data: {
|
|
roles: ['user', 'oper', 'admin'],
|
|
pageTitle: 'PAGETITLE.FORUM'
|
|
}
|
|
});
|
|
}
|
|
}());
|