used polymorphic routing to rename ad_path(@ad) to @ad.
used polymorphic routing to change ad_path(@ad) to @ad.