summaryrefslogtreecommitdiffstats
path: root/webapp/routes
diff options
context:
space:
mode:
authorBrian Olecki <bolecki019@gmail.com>2016-11-15 10:43:16 -0500
committerenahum <nahumhbl@gmail.com>2016-11-15 12:43:16 -0300
commit6297922ab9561dbf774ab5d51619abfc4a411e40 (patch)
tree84bbced4d8282f5e8af957164d6e92ae50238011 /webapp/routes
parent1f241af48a9554b6865d1ac79b4261341ab9b3f3 (diff)
downloadchat-6297922ab9561dbf774ab5d51619abfc4a411e40.tar.gz
chat-6297922ab9561dbf774ab5d51619abfc4a411e40.tar.bz2
chat-6297922ab9561dbf774ab5d51619abfc4a411e40.zip
Add support for editing slash commands (#4335)
Diffstat (limited to 'webapp/routes')
-rw-r--r--webapp/routes/route_integrations.jsx6
1 files changed, 6 insertions, 0 deletions
diff --git a/webapp/routes/route_integrations.jsx b/webapp/routes/route_integrations.jsx
index 0feb13bb7..7a4af7e7a 100644
--- a/webapp/routes/route_integrations.jsx
+++ b/webapp/routes/route_integrations.jsx
@@ -66,6 +66,12 @@ export default {
}
},
{
+ path: 'edit',
+ getComponents: (location, callback) => {
+ System.import('components/integrations/components/edit_command.jsx').then(RouteUtils.importComponentSuccess(callback));
+ }
+ },
+ {
path: 'confirm',
getComponents: (location, callback) => {
System.import('components/integrations/components/confirm_integration.jsx').then(RouteUtils.importComponentSuccess(callback));