Fix indentation in ActionDispatch::Routing::RouteSet::Dispatcher

This commit is contained in:
Xavier Noria 2023-06-27 16:14:56 +02:00
parent d9af9f1023
commit 9294a55187
1 changed files with 9 additions and 9 deletions

View File

@ -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