Sha256: 1f0815b976f673cf562ed1158487adec7fbae9efcf0dcaf7d8856296574428f7
Contents?: true
Size: 394 Bytes
Versions: 1
Compression:
Stored size: 394 Bytes
Contents
module Trinidad class RailsWebApp < WebApp def add_init_params super @context.addParameter('rails.env', @config[:environment].to_s) unless @context.findParameter('rails.env') @context.addParameter('rails.root', '/') unless @context.findParameter('rails.root') end def context_listener 'org.jruby.rack.rails.RailsServletContextListener' end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
trinidad-0.6.0 | lib/trinidad/rails_web_app.rb |