Skip to content

Commit

Permalink
Making sure that any custom controllers are included too.
Browse files Browse the repository at this point in the history
  • Loading branch information
rabrowne85 committed Nov 4, 2020
1 parent bd312c7 commit ed62026
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Generators/Scaffold/RoutesGenerator.php
Expand Up @@ -260,6 +260,7 @@ private function buildText(array $routes, int $indent = 0, string $parent = '')
'$ITERATION_CUSTOM_NAME$' => $custom['name'],
'$INDENT$' => infy_tabs($tabs),
];
$this->classNames[$custom['controller'].'Controller'] = $custom['controller'].'Controller';
$templateString .= get_artomator_template('scaffold.routes.prefixed.custom');
$templateString = fill_template($vars, $templateString);
}
Expand Down

0 comments on commit ed62026

Please sign in to comment.