# File lib/action_view/render/layouts.rb, line 65
    def find_layout(layout)
      begin
        with_layout_format do
          layout =~ /^\// ?
            with_fallbacks { find_template(layout) } : find_template(layout)
        end
      rescue ActionView::MissingTemplate => e
        update_details(:formats => nil) do
          raise unless template_exists?(layout)
        end
      end
    end