- using session.user instead of user as argument changed code to run with snapshot 20020531-fc: - no more res.skin, using renderSkin instead
13 lines
No EOL
274 B
Text
13 lines
No EOL
274 B
Text
checkIfLoggedIn(this.href(req.action));
|
|
|
|
var deny = this.isDenied(session.user);
|
|
if (deny) {
|
|
res.message = deny;
|
|
res.redirect(path.weblog.href());
|
|
}
|
|
|
|
res.data.title = path.weblog.title;
|
|
|
|
res.data.body = this.renderSkinAsString("main");
|
|
|
|
path.weblog.renderSkin("page"); |