Fixes problem with url_for missing