How to serve yaml file with sinatra? (not download)

I have a basic Sinatra app, I’d like to serve a yaml file so that it can be read by a gem via http. I’m just able to download it: get ‘/download’ do send_file ‘./en.yml’, :filename => ‘en.yml’, :type => ‘text/yaml’ end But how can I just serve it without downloading? Goal is that a… Read More How to serve yaml file with sinatra? (not download)