`$params` moved to controller