You can define external urls in routes.rb instead of creating helpers manually
https://guides.rubyonrails.org/routing.html#direct-routes