middleman/fixtures/instance-vars-app/source/layout.erb
Ben Hollis 97dc2c9742 Scenario for using instance vars to pass data to layouts and templates, and prevent
changes to instance vars being shared between different templates.
2011-12-11 20:13:41 -08:00

3 lines
35 B
Plaintext

Var is <%= @my_var %>
<%= yield %>