app/controllers/extface/handler_controller.rb in extface-0.3.0b vs app/controllers/extface/handler_controller.rb in extface-0.3.0c
- old
+ new
@@ -40,14 +40,15 @@
end
end
#stream_job # stream right now :)
status = :ok
end
+ response.stream.write ''
rescue => e
p e.message
render nothing: true, status: :internal_server_error
- #ensure
- #response.stream.close
+ ensure
+ response.stream.close
end
def settings
render text: 'settings'
end