diff options
author | José Valim <jose.valim@gmail.com> | 2010-09-29 10:34:37 -0700 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-09-29 10:34:37 -0700 |
commit | 258f7b586e68ab8e6421ea3e43707ada5db20fc9 (patch) | |
tree | fcf65d8094936c4907129596fe41a46547f4ee6a | |
parent | f63d35fba55867111427bfeb54c31b11e02d5d3f (diff) | |
download | rails-258f7b586e68ab8e6421ea3e43707ada5db20fc9.tar.gz rails-258f7b586e68ab8e6421ea3e43707ada5db20fc9.tar.bz2 rails-258f7b586e68ab8e6421ea3e43707ada5db20fc9.zip |
Fix a small typo (ht: masterkain)
-rw-r--r-- | actionpack/lib/abstract_controller/layouts.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/abstract_controller/layouts.rb b/actionpack/lib/abstract_controller/layouts.rb index 5c853c3034..e706dbd902 100644 --- a/actionpack/lib/abstract_controller/layouts.rb +++ b/actionpack/lib/abstract_controller/layouts.rb @@ -347,7 +347,7 @@ module AbstractController begin layout_name = _layout if action_has_layout? rescue NameError => e - raise e.class, "Coult not render layout: #{e.message}" + raise e.class, "Could not render layout: #{e.message}" end if require_layout && action_has_layout? && !layout_name |