initial check-in: in case this action is called for a comment, it redirects back to story-main with an anchor to this comment

This commit is contained in:
Robert Gaggl 2002-05-16 12:16:25 +00:00
parent 78ee959185
commit 56fdca2ada

5
code/Comment/main.hac Normal file
View file

@ -0,0 +1,5 @@
// since comments don't have their own page, we redirect to
// story together with an anchor to this comment
res.redirect(this.story.href() + "#" + this._id);