mirror of
https://github.com/aasm/aasm
synced 2023-03-27 23:22:41 -04:00
README: fix typo of transition
This commit is contained in:
parent
d40818efc9
commit
2e952ff208
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue