remove unnecssary require of `to_param`, as `to_query` is already require `to_param`
Merge pull request #15650 from kuldeepaggarwal/remove-unecessary-require

remove unnecssary require of `to_param`, as `to_query` is already require `to_param`