diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2012-04-26 20:47:22 -0300 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2012-04-29 14:45:06 -0300 |
commit | 0568fb5b9efa6923e9407552aae46b0a1210539d (patch) | |
tree | 986a02b68834fd100b0ece552088f6e00f6a6b3e /actionpack/test/fixtures | |
parent | d0c9c93c4a3a7da27ab8d9f53811960309f8e18f (diff) | |
download | rails-0568fb5b9efa6923e9407552aae46b0a1210539d.tar.gz rails-0568fb5b9efa6923e9407552aae46b0a1210539d.tar.bz2 rails-0568fb5b9efa6923e9407552aae46b0a1210539d.zip |
Allow access to current object_counter variable from layout when rendering with partial + collection
Diffstat (limited to 'actionpack/test/fixtures')
-rw-r--r-- | actionpack/test/fixtures/test/_b_layout_for_partial_with_object_counter.html.erb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/actionpack/test/fixtures/test/_b_layout_for_partial_with_object_counter.html.erb b/actionpack/test/fixtures/test/_b_layout_for_partial_with_object_counter.html.erb new file mode 100644 index 0000000000..44d6121297 --- /dev/null +++ b/actionpack/test/fixtures/test/_b_layout_for_partial_with_object_counter.html.erb @@ -0,0 +1 @@ +<b data-counter="<%= customer_counter %>"><%= yield %></b>
\ No newline at end of file |