Documentation for Pager.paginate_url
Return nil if num_page is nil
Join the path with baseurl in Pager.paginate_url