diff options
author | Poornima <mpoornima@users.noreply.github.com> | 2017-02-27 00:18:20 +0530 |
---|---|---|
committer | Joram Wilander <jwawilander@gmail.com> | 2017-02-26 13:48:20 -0500 |
commit | 19b753467d37209f2227567637e60138d05dd405 (patch) | |
tree | 163ba0878c02267ecbbcb288e11d23e30ec9c8eb /webapp/routes/route_integrations.jsx | |
parent | c0bb6f99f89259f6728856ace23d5dd505494b26 (diff) | |
download | chat-19b753467d37209f2227567637e60138d05dd405.tar.gz chat-19b753467d37209f2227567637e60138d05dd405.tar.bz2 chat-19b753467d37209f2227567637e60138d05dd405.zip |
Adding edit of incoming webhook (#5272)
Adding edit of outgoing webhook
Fixing spelling of error
Fixing style
Changing from PUT to POST for updates
Fixing test failures due to merge
Diffstat (limited to 'webapp/routes/route_integrations.jsx')
-rw-r--r-- | webapp/routes/route_integrations.jsx | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/webapp/routes/route_integrations.jsx b/webapp/routes/route_integrations.jsx index 7a4af7e7a..2933ba189 100644 --- a/webapp/routes/route_integrations.jsx +++ b/webapp/routes/route_integrations.jsx @@ -27,6 +27,12 @@ export default { getComponents: (location, callback) => { System.import('components/integrations/components/add_incoming_webhook.jsx').then(RouteUtils.importComponentSuccess(callback)); } + }, + { + path: 'edit', + getComponents: (location, callback) => { + System.import('components/integrations/components/edit_incoming_webhook.jsx').then(RouteUtils.importComponentSuccess(callback)); + } } ] }, @@ -43,6 +49,12 @@ export default { getComponents: (location, callback) => { System.import('components/integrations/components/add_outgoing_webhook.jsx').then(RouteUtils.importComponentSuccess(callback)); } + }, + { + path: 'edit', + getComponents: (location, callback) => { + System.import('components/integrations/components/edit_outgoing_webhook.jsx').then(RouteUtils.importComponentSuccess(callback)); + } } ] }, |