Sha256: 74c163e0aad9db9d1dd8453d2a36ff67f55fcb0ac80231805f18c79f693876cb
Contents?: true
Size: 1.24 KB
Versions: 1
Compression:
Stored size: 1.24 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.stack.push(-> 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 })
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rad_core-0.0.25 | lib/rad/profiles/web.rb |