Skip to content

Commit

Permalink
Made tags fillable
Browse files Browse the repository at this point in the history
  • Loading branch information
scottzirkel committed Mar 1, 2018
1 parent bfb15fc commit 738da0d
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# editorconfig.org
root = true

[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.php]
indent_size = 4

[*.md]
trim_trailing_whitespace = false
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/vendor
2 changes: 2 additions & 0 deletions src/Models/Tag.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,6 @@ class Tag extends Model
TagOrderScopes;

public $timestamps = false;

protected $fillable = ['name', 'slug'];
}

0 comments on commit 738da0d

Please sign in to comment.