private function replaceIndexTemplateContents($content)
    {
        /* Index View Page */
        //replace table headers - <th> {%tableColumns%}</th>
        //replace table td - {%controllerColumns%}

        $content = str_replace('#controllerName#', $this->controller, $content);
        $content = str_replace('#ControllerName#', Inflector::classify($this->controller), $content);
        $content = str_replace('{%primaryKey%}',
            $this->command->table()->getPrimaryKey(),
            $content
        );

        $column = '';

        $column = $this->replaceTableElements('th');
        $content = str_replace('{#thColumns#}', $column.PHP_EOL, $content);

        $column = $this->replaceTableElements('td');
        $content = str_replace('{#tdColumns#}', $column.PHP_EOL, $content);

        return $content;
    }