mirror of
https://github.com/ash-project/ash.git
synced 2024-09-20 05:23:03 +12:00
docs: fix code interface example
This commit is contained in:
parent
856ac698b7
commit
a24fdcfe59
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ defmodule Ash.Domain.Dsl do
|
|||
Defines a function with the corresponding name and arguments. See the [code interface guide](/documentation/topics/topics/code-interfaces.md) for more.
|
||||
""",
|
||||
examples: [
|
||||
"define :get_user_by_id, User, action: :get_by_id, args: [:id], get?: true"
|
||||
"define :get_user_by_id, action: :get_by_id, args: [:id], get?: true"
|
||||
],
|
||||
target: Ash.Resource.Interface,
|
||||
schema: Ash.Resource.Interface.schema(),
|
||||
|
|
Loading…
Reference in a new issue