Update single.php

changed controller to model