lib/rails/info_controller.rb in railties-5.2.8.1 vs lib/rails/info_controller.rb in railties-6.0.0.beta1

- old
+ new

@@ -2,10 +2,10 @@ require "rails/application_controller" require "action_dispatch/routing/inspector" class Rails::InfoController < Rails::ApplicationController # :nodoc: - prepend_view_path ActionDispatch::DebugExceptions::RESCUES_TEMPLATE_PATH + prepend_view_path ActionDispatch::DebugView::RESCUES_TEMPLATE_PATH layout -> { request.xhr? ? false : "application" } before_action :require_local! def index