module ApplicationHelper def http_url(url) return url if Rails.env.development? "/http_proxy?url=#{url}" end end