Skip to content

Commit

Permalink
Fix wrong instructions on relationship
Browse files Browse the repository at this point in the history
  • Loading branch information
woutdp committed May 26, 2023
1 parent 7227a7d commit 36d4ab0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions relationships.livemd
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ Mix.install([:ash])

### In this tutorial you will create a relationship between a Ticket and Representative resource

Create a `relationships do .. end` block in both the Ticket and Representative resource.
Create a `relationships do .. end` block in the Ticket resource.

Inside the Ticket `relationship` block, define a `belongs_to` representative like so:
Inside the `relationship` block, define a `belongs_to` representative like so:

`belongs_to :representative, Tutorial.Support.Representative`

Expand Down

0 comments on commit 36d4ab0

Please sign in to comment.