diff options
author | Christopher Speller <crspeller@gmail.com> | 2017-09-06 23:04:13 -0700 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2017-09-06 23:11:58 -0700 |
commit | d8bd57901e33a7057e26e782e295099ffcc0da89 (patch) | |
tree | e12dfc8cad42b1576756d19d7fbfd82646a009bf /webapp/routes/route_integrations.jsx | |
parent | 7bc8e9a08dfde56387f946fdf5086252aa4d0491 (diff) | |
download | chat-d8bd57901e33a7057e26e782e295099ffcc0da89.tar.gz chat-d8bd57901e33a7057e26e782e295099ffcc0da89.tar.bz2 chat-d8bd57901e33a7057e26e782e295099ffcc0da89.zip |
Removing webapp
Diffstat (limited to 'webapp/routes/route_integrations.jsx')
-rw-r--r-- | webapp/routes/route_integrations.jsx | 117 |
1 files changed, 0 insertions, 117 deletions
diff --git a/webapp/routes/route_integrations.jsx b/webapp/routes/route_integrations.jsx deleted file mode 100644 index 13abeb869..000000000 --- a/webapp/routes/route_integrations.jsx +++ /dev/null @@ -1,117 +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: 'integrations', - getComponents: (location, callback) => { - System.import('components/backstage/backstage_controller.jsx').then(RouteUtils.importComponentSuccess(callback)); - }, - indexRoute: { - getComponents: (location, callback) => { - System.import('components/integrations/components/integrations.jsx').then(RouteUtils.importComponentSuccess(callback)); - } - }, - childRoutes: [ - { - path: 'incoming_webhooks', - indexRoute: { - getComponents: (location, callback) => { - System.import('components/integrations/components/installed_incoming_webhooks.jsx').then(RouteUtils.importComponentSuccess(callback)); - } - }, - childRoutes: [ - { - path: 'add', - getComponents: (location, callback) => { - System.import('components/integrations/components/add_incoming_webhook').then(RouteUtils.importComponentSuccess(callback)); - } - }, - { - path: 'edit', - getComponents: (location, callback) => { - System.import('components/integrations/components/edit_incoming_webhook').then(RouteUtils.importComponentSuccess(callback)); - } - } - ] - }, - { - path: 'outgoing_webhooks', - indexRoute: { - getComponents: (location, callback) => { - System.import('components/integrations/components/installed_outgoing_webhooks.jsx').then(RouteUtils.importComponentSuccess(callback)); - } - }, - childRoutes: [ - { - path: 'add', - getComponents: (location, callback) => { - System.import('components/integrations/components/add_outgoing_webhook').then(RouteUtils.importComponentSuccess(callback)); - } - }, - { - path: 'edit', - getComponents: (location, callback) => { - System.import('components/integrations/components/edit_outgoing_webhook').then(RouteUtils.importComponentSuccess(callback)); - } - } - ] - }, - { - path: 'commands', - getComponents: (location, callback) => { - System.import('components/integrations/components/commands_container').then(RouteUtils.importComponentSuccess(callback)); - }, - indexRoute: {onEnter: (nextState, replace) => replace(nextState.location.pathname + '/installed')}, - childRoutes: [ - { - path: 'installed', - getComponents: (location, callback) => { - System.import('components/integrations/components/installed_commands').then(RouteUtils.importComponentSuccess(callback)); - } - }, - { - path: 'add', - getComponents: (location, callback) => { - System.import('components/integrations/components/add_command').then(RouteUtils.importComponentSuccess(callback)); - } - }, - { - path: 'edit', - getComponents: (location, callback) => { - System.import('components/integrations/components/edit_command').then(RouteUtils.importComponentSuccess(callback)); - } - }, - { - path: 'confirm', - getComponents: (location, callback) => { - System.import('components/integrations/components/confirm_integration').then(RouteUtils.importComponentSuccess(callback)); - } - } - ] - }, - { - path: 'oauth2-apps', - indexRoute: { - getComponents: (location, callback) => { - System.import('components/integrations/components/installed_oauth_apps').then(RouteUtils.importComponentSuccess(callback)); - } - }, - childRoutes: [ - { - path: 'add', - getComponents: (location, callback) => { - System.import('components/integrations/components/add_oauth_app').then(RouteUtils.importComponentSuccess(callback)); - } - } - ] - }, - { - path: 'confirm', - getComponents: (location, callback) => { - System.import('components/integrations/components/confirm_integration').then(RouteUtils.importComponentSuccess(callback)); - } - } - ] -}; |