• 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`.
    fefab474
profile_keys_controller_spec.rb 1.48 KB