Skip to content

Commit

Permalink
some changes to the Model
Browse files Browse the repository at this point in the history
  • Loading branch information
mogria committed Jun 6, 2012
1 parent 8254c6c commit 5bd654e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Models/Category.php
Expand Up @@ -17,6 +17,7 @@
namespace Void;

class Category extends \ActiveRecord\Model {
static $attr_accessible = Array('name', 'parent_category_id');
static $validates_presence_of = Array(
Array('name')
);
Expand Down

0 comments on commit 5bd654e

Please sign in to comment.