From e3b49c052b497827c9f058feaa066bbfe184f4da Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Fri, 28 Sep 2007 14:18:47 +0000 Subject: Fixed spelling errors (closes #9706) [tarmo/rmm5t] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7666 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionpack/lib/action_view/helpers/capture_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionpack/lib/action_view/helpers/capture_helper.rb') diff --git a/actionpack/lib/action_view/helpers/capture_helper.rb b/actionpack/lib/action_view/helpers/capture_helper.rb index 80bff8a4cd..fc8cd66d72 100644 --- a/actionpack/lib/action_view/helpers/capture_helper.rb +++ b/actionpack/lib/action_view/helpers/capture_helper.rb @@ -119,7 +119,7 @@ module ActionView # # The deprecated way of accessing a content_for block is to use an instance variable # named @content_for_#{name_of_the_content_block}. So <%= content_for :footer %> - # would be avaiable as <%= @content_for_footer %>. The preferred usage is now + # would be available as <%= @content_for_footer %>. The preferred usage is now # <%= yield :footer %>. def content_for(name, content = nil, &block) existing_content_for = instance_variable_get("@content_for_#{name}").to_s -- cgit v1.2.3