Commit 03b299d4 authored by Caleb Weeks's avatar Caleb Weeks

Merge branch 'master' of gitlab.entropy.cc:blacklight/bl-edit into feature/meetingsdev

parents e793405c c99080ac
......@@ -13,6 +13,13 @@ module.exports.process = function(data, $, cb){
// templates:routerSettings.templates.blacklight.edit
// }
if($.sling.mode !== "author"){
$.express.res.status(404).end("Page not available");
cb(null, false);
return;
}
var blConfig = global.bl.modules.modelHelpers.blacklight.edit.getBlConfigClient($.express.req);
$.sc=$.sling;
......
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