Retrieve content from the main namespace instead of templates

Change-Id: Id917fa617d6fba1e1b290b2ed20c24aed24d39d2
This commit is contained in:
Gabriel Wicke 2012-06-02 16:48:00 +02:00
parent 63abd57fc8
commit 7c7ddd22a7

View file

@ -135,7 +135,7 @@ app.get(/\/_roundtrip\/(.*)/, function(req, res){
return;
}
var target = env.resolveTitle( env.normalizeTitle( env.pageName ), 'Template' );
var target = env.resolveTitle( env.normalizeTitle( env.pageName ), '' );
console.log('retrieving ' + req.params[0]);
var tpr = new TemplateRequest( env, target );