From 56fdca2ada3d826b478913ec89132f4fe1f16cae Mon Sep 17 00:00:00 2001 From: Robert Gaggl Date: Thu, 16 May 2002 12:16:25 +0000 Subject: [PATCH] initial check-in: in case this action is called for a comment, it redirects back to story-main with an anchor to this comment --- code/Comment/main.hac | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 code/Comment/main.hac diff --git a/code/Comment/main.hac b/code/Comment/main.hac new file mode 100644 index 00000000..53227eb2 --- /dev/null +++ b/code/Comment/main.hac @@ -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); +