server side done
This commit is contained in:
@@ -16,5 +16,9 @@ Router.route('/', function() {
|
||||
});
|
||||
|
||||
Router.route('/farmalarm', function() {
|
||||
|
||||
if (Meteor.zoblak.client.accessible('alarm')) {
|
||||
Session.set('templateName', 'alarm');
|
||||
} else {
|
||||
Session.set('templateName', 'no_access')
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user