Update sidebar when project status is changed

This commit is contained in:
Eric Allen 2009-10-21 14:45:55 -04:00
parent 424d26a84c
commit 7eb29194c3
2 changed files with 4 additions and 0 deletions

View file

@ -126,6 +126,7 @@ class ProjectsController < ApplicationController
@active_projects_count = current_user.projects.active.count
@hidden_projects_count = current_user.projects.hidden.count
@completed_projects_count = current_user.projects.completed.count
init_data_for_sidebar
render :template => 'projects/update.js.rjs'
return
elsif boolean_param('update_status')