uncommented url_for and edited regex