module ActionDispatch::Routing::PolymorphicRoutes

def polymorphic_path_for_action(action, record_or_hash, options)

def polymorphic_path_for_action(action, record_or_hash, options)
  polymorphic_path(record_or_hash, options.merge(action: action))
end