diff options
author | Matthew Draper <matthew@trebex.net> | 2015-05-14 22:14:13 +0930 |
---|---|---|
committer | Matthew Draper <matthew@trebex.net> | 2015-05-14 22:14:13 +0930 |
commit | 864a41bc0463e94b6e0c61d4d8d86043e6d0a64f (patch) | |
tree | 43f3b1f91fc651076ad941e263554cde09e8310c /actionview/test/fixtures | |
parent | 7f60bedd7aca0c62d59e6f7971e73e214c2fb9db (diff) | |
parent | bef9484cf867ab261891d3431782e60c4e17f87f (diff) | |
download | rails-864a41bc0463e94b6e0c61d4d8d86043e6d0a64f.tar.gz rails-864a41bc0463e94b6e0c61d4d8d86043e6d0a64f.tar.bz2 rails-864a41bc0463e94b6e0c61d4d8d86043e6d0a64f.zip |
Merge pull request #20153 from nygrenh/remove-local_assigns-clutter
Do not put partial name to local_assigns when rendering without an object
Diffstat (limited to 'actionview/test/fixtures')
-rw-r--r-- | actionview/test/fixtures/test/_partial_name_in_local_assigns.erb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/actionview/test/fixtures/test/_partial_name_in_local_assigns.erb b/actionview/test/fixtures/test/_partial_name_in_local_assigns.erb new file mode 100644 index 0000000000..28ee9f41c5 --- /dev/null +++ b/actionview/test/fixtures/test/_partial_name_in_local_assigns.erb @@ -0,0 +1 @@ +<%= local_assigns.has_key?(:partial_name_in_local_assigns) %>
\ No newline at end of file |