|
@@ -13,12 +13,6 @@ require "./models/*"
|
|
|
# Server required after application controllers
|
|
|
require "action-controller/server"
|
|
|
|
|
|
-# Add handlers that should run before your application
|
|
|
-ActionController::Server.before(
|
|
|
- HTTP::LogHandler.new(STDOUT),
|
|
|
- HTTP::ErrorHandler.new(ENV["SG_ENV"]? != "production")
|
|
|
-)
|
|
|
-
|
|
|
# Configure session cookies
|
|
|
# NOTE:: Change these from defaults
|
|
|
ActionController::Session.configure do
|