Skip to content

Commit

Permalink
Accessible entity fields should be accessible.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Mar 25, 2014
1 parent daca39a commit e44caab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Console/Templates/default/classes/entity.ctp
Expand Up @@ -31,7 +31,7 @@ class <?= $name ?> extends Entity {
*/
protected $_accessible = [
<?php foreach ($fields as $field): ?>
'<?= $field ?>' => false,
'<?= $field ?>' => true,
<?php endforeach; ?>
];

Expand Down

0 comments on commit e44caab

Please sign in to comment.