private function appendRoutes($modelName)
{
$modelTitle = ucfirst($modelName);
$modelName = strtolower($modelName);
$newRoutes = $this->files->get(__DIR__ . '/../Stubs/routes.stub');
$newRoutes = str_replace('|MODEL_TITLE|', $modelTitle, $newRoutes);
$newRoutes = str_replace('|MODEL_NAME|', $modelName, $newRoutes);
$newRoutes = str_replace('|CONTROLLER_NAME|', $modelTitle . 'Controller', $newRoutes);
$this->files->append(app_path('Http/routes.php'), $newRoutes);
$this->info('Added routes for ' . $modelTitle);
}