diff options
Diffstat (limited to 'webapp/routes/route_help.jsx')
-rw-r--r-- | webapp/routes/route_help.jsx | 66 |
1 files changed, 0 insertions, 66 deletions
diff --git a/webapp/routes/route_help.jsx b/webapp/routes/route_help.jsx deleted file mode 100644 index 7c0ad2dd1..000000000 --- a/webapp/routes/route_help.jsx +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright (c) 2016-present Mattermost, Inc. All Rights Reserved. -// See License.txt for license information. - -import * as RouteUtils from 'routes/route_utils.jsx'; - -export default { - path: 'help', - indexRoute: {onEnter: (nextState, replace) => replace('/help/messaging')}, - childRoutes: [ - { - getComponents: (location, callback) => { - System.import('components/help/help_controller.jsx').then(RouteUtils.importComponentSuccess(callback)); - }, - childRoutes: [ - { - path: 'messaging', - indexRoute: { - getComponents: (location, callback) => { - System.import('components/help/components/messaging.jsx').then(RouteUtils.importComponentSuccess(callback)); - } - } - }, - { - path: 'composing', - indexRoute: { - getComponents: (location, callback) => { - System.import('components/help/components/composing.jsx').then(RouteUtils.importComponentSuccess(callback)); - } - } - }, - { - path: 'mentioning', - indexRoute: { - getComponents: (location, callback) => { - System.import('components/help/components/mentioning.jsx').then(RouteUtils.importComponentSuccess(callback)); - } - } - }, - { - path: 'formatting', - indexRoute: { - getComponents: (location, callback) => { - System.import('components/help/components/formatting.jsx').then(RouteUtils.importComponentSuccess(callback)); - } - } - }, - { - path: 'attaching', - indexRoute: { - getComponents: (location, callback) => { - System.import('components/help/components/attaching.jsx').then(RouteUtils.importComponentSuccess(callback)); - } - } - }, - { - path: 'commands', - indexRoute: { - getComponents: (location, callback) => { - System.import('components/help/components/commands.jsx').then(RouteUtils.importComponentSuccess(callback)); - } - } - } - ] - } - ] -}; |