README: fix typo of transition

This commit is contained in:
guchey 2022-11-07 09:34:25 +09:00 committed by Anil Kumar Maurya
parent d40818efc9
commit 2e952ff208
2 changed files with 2 additions and 2 deletions

View File

@ -656,7 +656,7 @@ Let's suppose we have common logic across many AASM models. We can embody this l
```ruby
class CustomAASMBase < AASM::Base
# A custom transiton that we want available across many AASM models.
# A custom transition that we want available across many AASM models.
def count_transitions!
klass.class_eval do
aasm with_klass: CustomAASMBase do

View File

@ -1,5 +1,5 @@
class CustomAASMBase < AASM::Base
# A custom transiton that we want available across many AASM models.
# A custom transition that we want available across many AASM models.
def count_transitions!
klass.class_eval do
aasm :with_klass => CustomAASMBase do