mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
warning removed "warning: instance variable @variable_for_layout not initialized"
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user