Method: ActionDispatch::Routing::PolymorphicRoutes::HelperMethodBuilder#handle_class_call

Defined in:
actionpack/lib/action_dispatch/routing/polymorphic_routes.rb

#handle_class_call(target, klass) ⇒ Object



266
267
268
# File 'actionpack/lib/action_dispatch/routing/polymorphic_routes.rb', line 266

def handle_class_call(target, klass)
  target.public_send get_method_for_class klass
end