Skip to content
Browse files

Define @title to avoid warnings.

  • Loading branch information...
1 parent 80a98e9 commit ad2c21089e435527641d891a30ff8f695114071b @miloops miloops committed Sep 28, 2010
Showing with 4 additions and 0 deletions.
  1. +4 −0 actionpack/test/controller/capture_test.rb
View
4 actionpack/test/controller/capture_test.rb
@@ -6,18 +6,22 @@ def self.controller_name; "test"; end
def self.controller_path; "test"; end
def content_for
+ @title = nil
render :layout => "talk_from_action"
end
def content_for_with_parameter
+ @title = nil
render :layout => "talk_from_action"
end
def content_for_concatenated
+ @title = nil
render :layout => "talk_from_action"
end
def non_erb_block_content_for
+ @title = nil
render :layout => "talk_from_action"
end

0 comments on commit ad2c210

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