Permalink
Browse files

removing extra newline in baked files

  • Loading branch information...
rchavik committed Jan 20, 2013
1 parent e8647d7 commit 622d2f04f9b3cb10c72fb37aeba51c269d0616b2
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/Cake/Console/Command/Task/PluginTask.php
@@ -147,15 +147,15 @@ public function bake($plugin) {
$out = "<?php\n\n";
$out .= "App::uses('AppController', 'Controller');\n\n";
$out .= "class {$plugin}AppController extends AppController {\n\n";
$out .= "}\n\n";
$out .= "}\n";
$this->createFile($this->path . $plugin . DS . 'Controller' . DS . $controllerFileName, $out);
$modelFileName = $plugin . 'AppModel.php';
$out = "<?php\n\n";
$out .= "App::uses('AppModel', 'Model');\n\n";
$out .= "class {$plugin}AppModel extends AppModel {\n\n";
$out .= "}\n\n";
$out .= "}\n";
$this->createFile($this->path . $plugin . DS . 'Model' . DS . $modelFileName, $out);
$this->_modifyBootstrap($plugin);

0 comments on commit 622d2f0

Please sign in to comment.