Skip to content
Browse files

moved periodically call remote statement away from partial

  • Loading branch information...
1 parent cd6e3b3 commit c8514229c1aec5513235f3c9d8e4d579a4491708 @JamesLuo JamesLuo committed Jul 13, 2011
Showing with 1 addition and 4 deletions.
  1. +0 −3 app/views/reports/_report.html.erb
  2. +1 −1 app/views/reports/show.html.erb
View
3 app/views/reports/_report.html.erb
@@ -1,7 +1,4 @@
<% @report ||= report %>
-
-<%= periodically_call_remote :url => { :controller => "reports", :action => "update_reports", :id => @report.id}, :frequency => 30 -%>
-
<table id="report_view_table">
<tr>
<th class="list_header" colspan="2">
View
2 app/views/reports/show.html.erb
@@ -40,7 +40,7 @@
<% end %>
-
+<%= periodically_call_remote :url => { :controller => "reports", :action => "update_reports", :id => @report.id}, :frequency => 30 -%>
<div id="report_view">
<%= render :partial => 'report'%>

0 comments on commit c851422

Please sign in to comment.
Something went wrong with that request. Please try again.