diff options
author | Yehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com> | 2009-06-16 13:54:55 -0700 |
---|---|---|
committer | Yehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com> | 2009-06-16 13:54:55 -0700 |
commit | 315147fcb5be2a937dcceb785de04a97616c49d0 (patch) | |
tree | 4502e8242122230848717c2b4cd11b0773425613 /actionpack/lib/action_controller/abstract | |
parent | dd58f4021da30af7f40ee139e7487b887cac44e9 (diff) | |
download | rails-315147fcb5be2a937dcceb785de04a97616c49d0.tar.gz rails-315147fcb5be2a937dcceb785de04a97616c49d0.tar.bz2 rails-315147fcb5be2a937dcceb785de04a97616c49d0.zip |
Move the exceptions for missing template into Compatibility in prep for moving it into a "not-production" module
Diffstat (limited to 'actionpack/lib/action_controller/abstract')
-rw-r--r-- | actionpack/lib/action_controller/abstract/layouts.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/actionpack/lib/action_controller/abstract/layouts.rb b/actionpack/lib/action_controller/abstract/layouts.rb index 6aa196e807..2ac4e6068a 100644 --- a/actionpack/lib/action_controller/abstract/layouts.rb +++ b/actionpack/lib/action_controller/abstract/layouts.rb @@ -140,8 +140,6 @@ module AbstractController rescue NameError => e raise NoMethodError, "You specified #{@_layout.inspect} as the layout, but no such method was found" - rescue ActionView::MissingTemplate - _find_by_parts(_layout({}), {}) end end |