changes to eliminate deprecated warning for method link_to