removing non-existant unit tests from admin template, and setting admin theme to always be the bootstrap default (so errant themes don't render the admin panel useless)

This commit is contained in:
Julian Lam
2013-07-18 12:04:29 -04:00
parent 800ac86014
commit d0c4302d24
2 changed files with 3 additions and 4 deletions

View File

@@ -15,7 +15,6 @@ var user = require('./../user.js'),
Admin.build_header = function(res) {
return templates['admin/header'].parse({
cssSrc: global.config['theme:src'] || global.nconf.get('relative_path') + '/vendor/bootstrap/css/bootstrap.min.css',
csrf:res.locals.csrf_token,
relative_path: global.nconf.get('relative_path')
});