Update BlogController.php

Clean up unnecessary code