(function() {
//author:广州银云信息科技有限公司
'use strict';
angular.module('eolinker')
.config(['$stateProvider', 'RouteHelpersProvider', function($stateProvider, helper) {
$stateProvider
.state('home.gpedit', {
url: '/gpedit',
template: '
',
containerRouter:true
})
.state('home.gpedit.default', {
url: '/overview',
template: ''
})
.state('home.gpedit.common', {
url: '/list',
template: ''
})
.state('home.gpedit.common.list', {
url: '/?groupID',
template: ''
})
.state('home.gpedit.inside', {
url: '/inside/:groupType?strategyID?groupID?strategyName',
template: '',
containerRouter:true
})
.state('home.gpedit.inside.setting', {
url: '/setting',
template: ''
})
.state('home.gpedit.inside.api', {
url: '/api',
template: '',
containerRouter:true
})
.state('home.gpedit.inside.api.default', {
url: '/',
template: ''
})
.state('home.gpedit.inside.api.operate', {
url: '/operate',
template: ''
})
.state('home.gpedit.inside.api.plugin', {
url: '/plugin/:apiID',
template: '',
resolve: helper.resolveFor( 'ACE_EDITOR')
})
.state('home.gpedit.inside.auth', {
url: '/auth',
template: ''
})
.state('home.gpedit.inside.plugin', {
url: '/plugin',
template: '',
containerRouter:true
})
.state('home.gpedit.inside.plugin.gpedit', {
url: '/gpedit',
template: '',
sidebarIndex:1
})
.state('home.gpedit.inside.plugin.operate', {
url: '/operate/:status?pluginName?chineseName',
template: '',
resolve: helper.resolveFor( 'ACE_EDITOR')
});
}])
})();