mirror of
https://github.com/wekan/wekan.git
synced 2025-12-22 02:10:12 +01:00
11 lines
214 B
JavaScript
11 lines
214 B
JavaScript
|
|
GetSub = function (name) {
|
||
|
|
for(var id in Meteor.connection._subscriptions) {
|
||
|
|
var sub = Meteor.connection._subscriptions[id];
|
||
|
|
if(name === sub.name) {
|
||
|
|
return sub;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
};
|
||
|
|
|
||
|
|
FlowRouter.route('/');
|