Skip to content

Commit

Permalink
docs: Remove erroneous " in generic action docs (#256)
Browse files Browse the repository at this point in the history
  • Loading branch information
sevenseacat authored Nov 24, 2024
1 parent 81cb83d commit 67c35c1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions documentation/dsls/DSL-AshJsonApi.Domain.md
Original file line number Diff line number Diff line change
Expand Up @@ -660,7 +660,7 @@ A route for a generic action.

### Examples
```
route :get, "say_hi/:name", :say_hello"
route :get, "say_hi/:name", :say_hello
```


Expand Down Expand Up @@ -1171,7 +1171,7 @@ A route for a generic action.

### Examples
```
route :get, "say_hi/:name", :say_hello"
route :get, "say_hi/:name", :say_hello
```


Expand Down
2 changes: 1 addition & 1 deletion documentation/dsls/DSL-AshJsonApi.Resource.md
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,7 @@ A route for a generic action.

### Examples
```
route :get, "say_hi/:name", :say_hello"
route :get, "say_hi/:name", :say_hello
```


Expand Down
2 changes: 1 addition & 1 deletion lib/ash_json_api/resource/resource.ex
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ defmodule AshJsonApi.Resource do
args: [:method, :route, :action],
describe: "A route for a generic action.",
examples: [
~S{route :get, "say_hi/:name", :say_hello"}
~S{route :get, "say_hi/:name", :say_hello}
],
schema:
Keyword.put(@route_schema, :method,
Expand Down

0 comments on commit 67c35c1

Please sign in to comment.