diff options
author | Chris Nicola <chnicola@gmail.com> | 2012-12-07 15:55:54 -0800 |
---|---|---|
committer | Chris Nicola <chnicola@gmail.com> | 2013-03-27 10:59:50 -0700 |
commit | ef27bba63d93453dee26e2decfca80659f2da735 (patch) | |
tree | 2b571c1f91eb951a3e09310e6702461e6ee8b3bb /railties/lib/rails/generators/test_unit/model/templates | |
parent | 0bc301ef7d8a2ded89d412fe4193594f0523fa99 (diff) | |
download | rails-ef27bba63d93453dee26e2decfca80659f2da735.tar.gz rails-ef27bba63d93453dee26e2decfca80659f2da735.tar.bz2 rails-ef27bba63d93453dee26e2decfca80659f2da735.zip |
Provides standard layout lookup behavior for method and proc cases
When setting the layout either by referencing a method or supplying a
Proc there is no way to fall back to the default lookup behavior if
desired. This patch allows fallback to the layout lookup behavior when
returning nil from the proc or method.
Diffstat (limited to 'railties/lib/rails/generators/test_unit/model/templates')
0 files changed, 0 insertions, 0 deletions