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:
parent
78ee959185
commit
56fdca2ada
1 changed files with 5 additions and 0 deletions
5
code/Comment/main.hac
Normal file
5
code/Comment/main.hac
Normal 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);
|
||||||
|
|
Loading…
Add table
Reference in a new issue