Skip to content

Commit

Permalink
correct path in error message for a missing component
Browse files Browse the repository at this point in the history
PluginNameController/Component

becomes

PluginName/Controller/Component
  • Loading branch information
AD7six committed Jun 7, 2012
1 parent 33c112b commit 72a36a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Cake/View/Errors/missing_component.ctp
Expand Up @@ -24,7 +24,7 @@ $pluginDot = empty($plugin) ? null : $plugin . '.';
</p>
<p class="error">
<strong><?php echo __d('cake_dev', 'Error'); ?>: </strong>
<?php echo __d('cake_dev', 'Create the class %s below in file: %s', '<em>' . $class . '</em>', (empty($plugin) ? APP_DIR . DS : CakePlugin::path($plugin)) . 'Controller' . DS . 'Component' . DS . $class . '.php'); ?>
<?php echo __d('cake_dev', 'Create the class %s below in file: %s', '<em>' . $class . '</em>', (empty($plugin) ? APP_DIR : CakePlugin::path($plugin)) . DS . 'Controller' . DS . 'Component' . DS . $class . '.php'); ?>
</p>
<pre>
&lt;?php
Expand Down

0 comments on commit 72a36a0

Please sign in to comment.