method

handle_model_call

handle_model_call(target, record)
public

No documentation available.

# File actionpack/lib/action_dispatch/routing/polymorphic_routes.rb, line 277
          def handle_model_call(target, record)
            if mapping = polymorphic_mapping(target, record)
              mapping.call(target, [record], suffix == "path")
            else
              method, args = handle_model(record)
              target.public_send(method, *args)
            end
          end