2015/06/15 Rails.application.routes.url_helpers can be used to access your URL helpers from anywhere.