lib/utopia/setup/config.ru in utopia-0.12.5 vs lib/utopia/setup/config.ru in utopia-0.12.6
- old
+ new
@@ -1,11 +1,11 @@
#!/usr/bin/env rackup
UTOPIA_ENV = (ENV['UTOPIA_ENV'] || ENV['RACK_ENV'] || :development).to_sym
$LOAD_PATH << File.join(File.dirname(__FILE__), "lib")
-require 'utopia/middleware/all'
+require 'utopia'
# Utopia relies heavily on a local cache:
require 'rack/cache'
if UTOPIA_ENV == :development
@@ -14,10 +14,9 @@
use Utopia::Middleware::ExceptionHandler, "/errors/exception"
use Utopia::Middleware::MailExceptions
end
use Rack::ContentLength
-use Utopia::Middleware::Logger
use Utopia::Middleware::Redirector, {
:strings => {
'/' => '/welcome/index',
},