removed unused function

Removed filter_index from ProjectsController.php