warning removed "warning: instance variable @variable_for_layout not initialized"

This commit is contained in:
Arun Agrawal
2011-12-17 12:00:28 +05:30
parent 4f35d5a18b
commit 23334be5b8

View File

@@ -72,6 +72,7 @@ class ActionPackAssertionsController < ActionController::Base
end
def render_with_layout
@variable_for_layout = nil
render "test/hello_world", :layout => "layouts/standard"
end