Skip to content

Commit

Permalink
docs: inital -> initial (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
zimt28 authored Jun 11, 2024
1 parent f545c4a commit 22f0743
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,17 @@ use Ash.Resource,
...

state_machine do
inital_states [:pending]
default_inital_state :pending
initial_states [:pending]
default_initial_state :pending
end
```

## Add allowed transitions

```elixir
state_machine do
inital_states [:pending]
default_inital_state :pending
initial_states [:pending]
default_initial_state :pending

transitions do
# `:begin` action can move state from `:pending` to `:started`/`:aborted`
Expand Down

0 comments on commit 22f0743

Please sign in to comment.