Correct the use of to_model in polymorphic routing #6588

Merged
merged 1 commit into from Jun 1, 2012