Permalink
Browse files

Post comment when search result was loaded by ajax

  • Loading branch information...
1 parent 3e25598 commit 94d8614371a2bc5051977c4f2c89d2f21a7c5841 Alex Bredariol Grilo committed Oct 20, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/views/questions/_search_result.html.haml
@@ -30,5 +30,5 @@
= render :partial => 'shared/comments',
:locals => { :commentable => search_result,
:source => question_path(question),
- :path_scope => [search_result] }
+ :path_scope => [question, search_result] }

0 comments on commit 94d8614

Please sign in to comment.