• Dmitry Medvinsky's avatar
    Fix `/:username.keys` response content type · fefab474
    Dmitry Medvinsky authored
    Currently this method responds with `text/html`. It is kind of unusable
    if you open it in a browser. The browser thinks it is HTML and renders
    it as HTML, meaning new lines are dropped. So it's very hard to
    distinguish where the key starts and where it ends.
    This commit changes the content type header to `text/plain`.
keys_controller.rb 1.17 KB