You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As stated in the definition for a problem:
// throw a custom problem
if (self.user === null)
self.problem('User is offline.');
self.plain('homepage');
});
or
framework.route('/forbidden/', function () {
var self = this;
self.view403('A visitor was denied.');
// IMPORTANT:
// self.view500(error)
});
I propose a rename.
The text was updated successfully, but these errors were encountered:
As stated in the definition for a problem:
// throw a custom problem
if (self.user === null)
self.problem('User is offline.');
self.plain('homepage');
});
or
framework.route('/forbidden/', function () {
var self = this;
self.view403('A visitor was denied.');
// IMPORTANT:
// self.view500(error)
});
I propose a rename.
The text was updated successfully, but these errors were encountered: