Skip to content

Commit

Permalink
Always include validator import.
Browse files Browse the repository at this point in the history
The chances of people doing validations are extremly high. Give users
a head start.
  • Loading branch information
markstory committed Mar 18, 2014
1 parent 9ffeac1 commit e43044b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Console/Templates/default/classes/table.ctp
Expand Up @@ -19,9 +19,7 @@ echo "<?php\n";
namespace <?= $namespace ?>\Model\Table;

use Cake\ORM\Table;
<?php if (!empty($validation)): ?>
use Cake\Validation\Validator;
<?php endif ?>

/**
* <?= $name ?> Model
Expand Down

0 comments on commit e43044b

Please sign in to comment.