Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

warning removed "warning: instance variable @variable_for_layout not ini... #4008

Merged
merged 1 commit into from

2 participants

@arunagw
Collaborator

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

"@variable_for_layout" is used in standard layout

@josevalim josevalim merged commit 3346de6 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Dec 17, 2011
  1. @arunagw
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 0 deletions.
  1. +1 −0  actionpack/test/controller/action_pack_assertions_test.rb
View
1  actionpack/test/controller/action_pack_assertions_test.rb
@@ -72,6 +72,7 @@ def render_text_with_custom_content_type
end
def render_with_layout
+ @variable_for_layout = nil
render "test/hello_world", :layout => "layouts/standard"
end
Something went wrong with that request. Please try again.