Skip to content

Commit

Permalink
Mention import in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
duncanmcclean authored Dec 18, 2023
1 parent 134fb28 commit 0c6d200
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/resources.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ Second, you need to add the `HasRunwayResource` trait to your Eloquent model.
```php
// app/Models/Order.php

use DoubleThreeDigital\Runway\Traits\HasRunwayResource; // [tl! add]

class Order extends Model
{
use HasRunwayResource; // [tl! add]
Expand Down

0 comments on commit 0c6d200

Please sign in to comment.