From 9294a5518774baa162d8d35175c8638b7d696ccb Mon Sep 17 00:00:00 2001 From: Xavier Noria Date: Tue, 27 Jun 2023 16:14:56 +0200 Subject: [PATCH] Fix indentation in ActionDispatch::Routing::RouteSet::Dispatcher --- .../lib/action_dispatch/routing/route_set.rb | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/actionpack/lib/action_dispatch/routing/route_set.rb b/actionpack/lib/action_dispatch/routing/route_set.rb index 985fe11822b..1d6708d674f 100644 --- a/actionpack/lib/action_dispatch/routing/route_set.rb +++ b/actionpack/lib/action_dispatch/routing/route_set.rb @@ -38,16 +38,16 @@ module ActionDispatch end end - private - def controller(req) - req.controller_class - rescue NameError => e - raise ActionController::RoutingError, e.message, e.backtrace - end + private + def controller(req) + req.controller_class + rescue NameError => e + raise ActionController::RoutingError, e.message, e.backtrace + end - def dispatch(controller, action, req, res) - controller.dispatch(action, req, res) - end + def dispatch(controller, action, req, res) + controller.dispatch(action, req, res) + end end class StaticDispatcher < Dispatcher