updated to use named_route_url style to generates absolute URLs