update project's dashboard every 5 minutes

This commit is contained in:
Nihad Abbasov 2011-10-26 23:22:42 +05:00
parent 1beb84161c
commit e0f4a37f3d

View file

@ -21,3 +21,8 @@
%h3 Talk
=render "projects/recent_messages"
:javascript
function updateDashboard(){
$('#content-container').load("#{escape_javascript(project_path(@project))} #content-container>*");
}
setInterval("updateDashboard()", 300000);