Sha256: 56efb72f1c6e683bb6f5889b14cd353a831e6f03b249ce267a3b40d2e2b85693
Contents?: true
Size: 355 Bytes
Versions: 1
Compression:
Stored size: 355 Bytes
Contents
module Trinidad class RailsWebApp < WebApp def add_init_params super add_parameter_unless_exist('rails.env', environment.to_s) add_parameter_unless_exist('rails.root', '/') end def context_listener 'org.jruby.rack.rails.RailsServletContextListener' end def provided_web_xml; 'rails_web.xml'; end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
trinidad-0.9.0 | lib/trinidad/rails_web_app.rb |