Define @title to avoid warnings.
This commit is contained in:
parent
80a98e9b25
commit
ad2c21089e
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user