Define routes for external links in rails
Public

You can define external urls in routes.rb instead of creating helpers manually

https://guides.rubyonrails.org/routing.html#direct-routes