Sha256: 53bbd36c4dc1b203f54992e15182b47858965c576b5181610c91102313a3ccdc
Contents?: true
Size: 1.25 KB
Versions: 10
Compression:
Stored size: 1.25 KB
Contents
# # Conveyors # rad.conveyors.web do |web| # conveyor web.use Rad::Conveyors::Processors::ConveyorLogger # http web.use Rad::Http::Processors::HttpWriter web.use Rad::Http::Processors::PrepareParams web.use Rad::Http::Processors::EvaluateFormat web.use Rad::Http::Processors::HttpLogger # html # web.use ScopedParams web.use Rad::Html::Processors::PrepareFlash # controller web.use Rad::Controller::Processors::ControllerErrorHandling # router web.use Rad::Router::Processors::Router, :class, :method_name # controller web.use Rad::Controller::Processors::ControllerLogger web.use Rad::Controller::Processors::ControllerCaller web.build! end # # Rack # rad.http.initialize_rack do |builder| # CommonLogger, ShowExceptions, Lint builder.use Rack::Lint if rad.development? # builder.use Rad::Middleware::StaticFiles if rad.http.static? and rad.http.public_path? and rad.development? # use Rack::Session::Cookie, key: 'rack.session', domain: 'foo.com', path: '/', expire_after: 2592000, secret: 'change_me' builder.use Rack::Session::Cookie, rad.http.session.stringify_keys if rad.http.session # builder.use Rack::CommonLogger builder.use Rack::MethodOverride end
Version data entries
10 entries across 10 versions & 1 rubygems