Update DiscussionsController.php