extracting link builder from view to helper