app/views/searchjoy/searches/stream.html.erb in searchjoy-0.0.8 vs app/views/searchjoy/searches/stream.html.erb in searchjoy-0.0.9

- old
+ new

@@ -2,10 +2,10 @@ <table id="stream"></table> <script> function fetchRecentSearches() { - $("#stream").load("<%= searchjoy.searches_recent_path %>"); + $("#stream").load("<%= searches_recent_path %>"); setTimeout(fetchRecentSearches, 5 * 1000); } $( function() { fetchRecentSearches(); });