Skip to content

Commit

Permalink
README: fix typo of transition
Browse files Browse the repository at this point in the history
  • Loading branch information
guchey authored and anilmaurya committed Feb 5, 2023
1 parent d40818e commit 2e952ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion spec/models/simple_custom_example.rb
@@ -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
Expand Down

0 comments on commit 2e952ff

Please sign in to comment.