Fix changing to_param
Merge branch 'updated_to_param' into check_xhr