Skip to content

Commit

Permalink
Added missing ViewEngine.set() method.
Browse files Browse the repository at this point in the history
  • Loading branch information
petersirka committed Apr 9, 2024
1 parent 8b62fda commit 6804e89
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions viewengine.js
Original file line number Diff line number Diff line change
Expand Up @@ -855,6 +855,10 @@ View.prototype.url = function(hostname = false) {
return hostname ? (self.controller ? self.controller.hostname(self.controller.url) : '') : (self.controller ? self.controller.url : '');
};

View.prototype.set = function() {
return '';
};

View.prototype.render = function(name, model, ispartial = false) {

var self = this;
Expand Down

0 comments on commit 6804e89

Please sign in to comment.