class ActionDispatch::Routing::RouteSet::Dispatcher
def controller(req)
Experimental RBS support (using type sampling data from the type_fusion
project).
def controller: (ActionDispatch::Request req) -> Class
This signature was generated using 1 sample from 1 application.
def controller(req) req.controller_class rescue NameError => e raise ActionController::RoutingError, e.message, e.backtrace end