method
get_method_for_class
rails 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 340
def get_method_for_class(klass)
name = @key_strategy.call klass.model_name
get_method_for_string name
end