17 lines
454 B
JavaScript
17 lines
454 B
JavaScript
Router.route("/audit", {
|
|
name:"hipaaAuditLogRoute",
|
|
template:"hipaaLogPage"
|
|
});
|
|
|
|
|
|
Template.hipaaLogPage.helpers({
|
|
hasCloseButtons: function() {
|
|
var hipaaAuditLog = Session.get('HipaaAuditLogConfig');
|
|
return hipaaAuditLog && hipaaAuditLog.closeButton;
|
|
}
|
|
});
|
|
|
|
// We probably don't need this, but the subscription in subscriptions.js doesn't seem to be working?
|
|
Template.hipaaLogPage.onCreated(function() {
|
|
this.subscribe('HipaaLog');
|
|
}) |