Skip to content

Commit

Permalink
Improving the routing information in bundle generator:
Browse files Browse the repository at this point in the history
- Incorrect path to the controller
- No sign of a newline
  • Loading branch information
jonatanpolak committed Oct 28, 2011
1 parent 88ecf05 commit 512fbe6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Command/GenerateBundleCommand.php
Expand Up @@ -267,7 +267,7 @@ protected function updateRouting($dialog, InputInterface $input, OutputInterface
$ret = $auto ? $routing->addResource($bundle, $format) : false;
if (!$ret) {
if ('annotation' === $format) {
$help = sprintf(" <comment>resource: \"@%s/Resources/Controller/\"</comment>\n <comment>type: annotation</comment>", $bundle);
$help = sprintf(" <comment>resource: \"@%s/Controller/\"</comment>\n <comment>type: annotation</comment>\n", $bundle);
} else {
$help = sprintf(" <comment>resource: \"@%s/Resources/config/routing.%s\"</comment>\n", $bundle, $format);
}
Expand Down

0 comments on commit 512fbe6

Please sign in to comment.