Creating route object when route is favorited