From 2e952ff2088082c9f00c95e3c1261afc826f737c Mon Sep 17 00:00:00 2001 From: guchey Date: Mon, 7 Nov 2022 09:34:25 +0900 Subject: [PATCH] README: fix typo of transition --- README.md | 2 +- spec/models/simple_custom_example.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9eaa2b7..26de7b2 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/spec/models/simple_custom_example.rb b/spec/models/simple_custom_example.rb index fe51c3f..20ca7d3 100644 --- a/spec/models/simple_custom_example.rb +++ b/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