examples/async_upload.rb in goliath-0.9.0 vs examples/async_upload.rb in goliath-0.9.1
- old
+ new
@@ -3,13 +3,9 @@
require 'goliath'
require 'yajl'
class AsyncUpload < Goliath::API
-
- # reload code on every request in dev environment
- use ::Rack::Reloader, 0 if Goliath.dev?
-
use Goliath::Rack::Params # parse & merge query and body parameters
use Goliath::Rack::DefaultMimeType # cleanup accepted media types
use Goliath::Rack::Formatters::JSON # JSON output formatter
use Goliath::Rack::Render # auto-negotiate response format
\ No newline at end of file