Commit c99080ac authored by Aaron Harder's avatar Aaron Harder

Reverse logic of “self-rendering” declaration for route preprocessor

parent c52253ee
......@@ -15,7 +15,7 @@ module.exports.process = function(data, $, cb){
if($.sling.mode !== "author"){
$.express.res.status(404).end("Page not available");
cb(null, true);
cb(null, false);
return;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment