diff options
author | Nick Sutterer <apotonick@gmail.com> | 2014-05-09 12:12:29 +1000 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-08-24 15:07:25 -0300 |
commit | c0daa02c24ced5940ad9ab36ca81dd25614e5e41 (patch) | |
tree | 652c8c7bfd102a8368cd091788239aa32db8697a | |
parent | 8d7ce0f22aee09d20091a4dc58cb379a09d13e26 (diff) | |
download | rails-c0daa02c24ced5940ad9ab36ca81dd25614e5e41.tar.gz rails-c0daa02c24ced5940ad9ab36ca81dd25614e5e41.tar.bz2 rails-c0daa02c24ced5940ad9ab36ca81dd25614e5e41.zip |
remove useless case in #resolve_layout.
-rw-r--r-- | actionview/lib/action_view/renderer/template_renderer.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/actionview/lib/action_view/renderer/template_renderer.rb b/actionview/lib/action_view/renderer/template_renderer.rb index 076f350372..fac50bc58d 100644 --- a/actionview/lib/action_view/renderer/template_renderer.rb +++ b/actionview/lib/action_view/renderer/template_renderer.rb @@ -94,8 +94,6 @@ module ActionView end when Proc resolve_layout(layout.call, keys, formats) - when FalseClass - nil else layout end |