method
get_method_for_class
v7.0.0 -
Show latest stable
- Class:
ActionDispatch::Routing::PolymorphicRoutes::HelperMethodBuilder
get_method_for_class(klass)private
No documentation available.
# File actionpack/lib/action_dispatch/routing/polymorphic_routes.rb, line 338
def get_method_for_class(klass)
name = @key_strategy.call klass.model_name
get_method_for_string name
end