mirror of https://github.com/rails/rails
Fix indentation in ActionDispatch::Routing::RouteSet::Dispatcher
This commit is contained in:
parent
d9af9f1023
commit
9294a55187
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue