mirror of
https://github.com/ash-project/ash_phoenix.git
synced 2024-09-20 07:12:49 +12:00
docs: use string instead of atom for post_selector/1 (#72)
This commit is contained in:
parent
ad09c38494
commit
1ab52551b5
1 changed files with 1 additions and 1 deletions
|
@ -476,7 +476,7 @@ defmodule MyAshPhoenixAppWeb.ExampleLiveView do
|
|||
|
||||
defp post_selector(posts) do
|
||||
for post <- posts do
|
||||
{:"#{post.title}", post.id}
|
||||
{post.title, post.id}
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue