Skip to content

Commit

Permalink
Case of extending TeamworkTeam
Browse files Browse the repository at this point in the history
I extended TeamworkTeam to App\Team as suggested and added a slug field. I had no idea why it wasn't saving my slug until debugging brought me to the team_model variable. I thought this would be a useful note.
  • Loading branch information
joevallender authored Jul 25, 2016
1 parent aa17c5b commit 9d98786
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,8 @@ The `Team` model has two main attributes:

The `owner_id` is an optional attribute and is nullable in the database.

When extending TeamworkTeam, remember to change the `team_model` variable in `config/teamwork.php` to your new model. For instance: `'team_model' => App\Team::class`

<a name="user" />
#### User

Expand Down

0 comments on commit 9d98786

Please sign in to comment.