summaryrefslogtreecommitdiffstats
path: root/webapp/routes
diff options
context:
space:
mode:
authorCorey Hulen <corey@hulen.com>2017-06-30 18:18:04 -0700
committerGitHub <noreply@github.com>2017-06-30 18:18:04 -0700
commit093dfd6c7fe893d6ab8981b917a87bd563eb58a3 (patch)
treec185fc9921f5bf34b3894848ab256bca30ce7865 /webapp/routes
parentd2eb10b7e66213d43e00551170e77acc220c0ef8 (diff)
downloadchat-093dfd6c7fe893d6ab8981b917a87bd563eb58a3.tar.gz
chat-093dfd6c7fe893d6ab8981b917a87bd563eb58a3.tar.bz2
chat-093dfd6c7fe893d6ab8981b917a87bd563eb58a3.zip
Reverting tutorial fix (#6812)
Diffstat (limited to 'webapp/routes')
-rw-r--r--webapp/routes/route_team.jsx12
1 files changed, 12 insertions, 0 deletions
diff --git a/webapp/routes/route_team.jsx b/webapp/routes/route_team.jsx
index 69dd517a0..59cf6d673 100644
--- a/webapp/routes/route_team.jsx
+++ b/webapp/routes/route_team.jsx
@@ -328,6 +328,18 @@ export default {
(comarr) => callback(null, {team_sidebar: comarr[0].default, sidebar: comarr[1].default, center: comarr[2].default})
);
}
+ },
+ {
+ path: 'tutorial',
+ getComponents: (location, callback) => {
+ Promise.all([
+ System.import('components/team_sidebar'),
+ System.import('components/sidebar.jsx'),
+ System.import('components/tutorial/tutorial_view.jsx')
+ ]).then(
+ (comarr) => callback(null, {team_sidebar: comarr[0].default, sidebar: comarr[1].default, center: comarr[2].default})
+ );
+ }
}
]
}