method
handle_model_call
v4.2.9 -
Show latest stable
- Class:
ActionDispatch::Routing::PolymorphicRoutes::HelperMethodBuilder
handle_model_call(target, model)public
No documentation available.
# File actionpack/lib/action_dispatch/routing/polymorphic_routes.rb, line 266
def handle_model_call(target, model)
method, args = handle_model model
target.send(method, *args)
end