The communications platform that puts data protection first.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Rocket.Chat/packages/rocketchat-message-snippet/client/router.js

16 lines
340 B

/* global FlowRouter, BlazeLayout */
FlowRouter.route('/snippet/:snippetId/:snippetName', {
name: 'snippetView',
action() {
BlazeLayout.render('main', {center: 'snippetPage', flexTabBar: null });
},
triggersEnter: [ function() {
RocketChat.TabBar.hide();
}],
triggersExit: [
function() {
RocketChat.TabBar.show();
}
]
});