~srushe/ho-tan

cecc24366cc0a82a6e2ecc6f66a42a3cec543b7f — Stephen Rushe 11 months ago 4345d68
Fix rack issue with status preceding headers
1 files changed, 1 insertions(+), 1 deletions(-)

M lib/ho_tan/application.rb
M lib/ho_tan/application.rb => lib/ho_tan/application.rb +1 -1
@@ 175,8 175,8 @@ module HoTan
      post.update!(params)

      if post.updated_url?
        status 201
        headers 'Location' => post.absolute_url
        status 201
      else
        status 204
      end