Skip to content
Browse files

Fix typo.

  • Loading branch information...
1 parent 0764688 commit 77d255cef26d91967f9a41473a39b6dcd2e6bef2 @troessner troessner committed Apr 19, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/transitions/event.rb
View
2 lib/transitions/event.rb
@@ -135,7 +135,7 @@ def build_sucess_callback(callback_symbol_or_proc)
end
def error_message_for_invalid_transitions(obj, to_state)
- "Canno transition to #{to_state || 'default'} from #{obj.current_state} for `#{obj.class.name}` #{obj.class < ActiveRecord::Base && obj.persisted? ? "with ID #{obj.id} " : nil}"
+ "Cannot transition to #{to_state || 'default'} from #{obj.current_state} for `#{obj.class.name}` #{obj.class < ActiveRecord::Base && obj.persisted? ? "with ID #{obj.id} " : nil}"
end
end
end

0 comments on commit 77d255c

Please sign in to comment.
Something went wrong with that request. Please try again.