Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Proper redirect after comment

  • Loading branch information...
commit 4dbf523a158b69562df2b865b7aa2b4e3b85cd0b 1 parent 5048a88
Anatoliy Chakkaev authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  app/controllers/comments_controller.js
2  app/controllers/comments_controller.js
View
@@ -18,7 +18,7 @@ action('create', function () {
} else {
flash('info', 'Comment created');
Page.index[path].loadComments(function () {
- redirect(path + '#discussion');
+ redirect(app.config.url + path + '#discussion');
});
}
});
Please sign in to comment.
Something went wrong with that request. Please try again.