lib/metatron/controller.rb in metatron-0.4.1 vs lib/metatron/controller.rb in metatron-0.4.2
- old
+ new
@@ -6,10 +6,10 @@
helpers Sinatra::CustomLogger
configure do
set :protection, except: :http_origin
set :logging, true
- set :logger, Metatron::LOGGER
+ set :logger, Metatron.logger
set :show_exceptions, false
end
before do
# Sets up a useful variable (@json_body) for accessing a parsed request body