Sha256: 47fbce945b55afb14a320ef276ab1e265c2efb963bb49d38162439476c1d3b4d

Contents?: true

Size: 307 Bytes

Versions: 5

Compression:

Stored size: 307 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
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
trinidad-0.8.3 lib/trinidad/rails_web_app.rb
trinidad-0.8.2 lib/trinidad/rails_web_app.rb
trinidad-0.8.1 lib/trinidad/rails_web_app.rb
trinidad-0.8.0 lib/trinidad/rails_web_app.rb
trinidad-0.7.2 lib/trinidad/rails_web_app.rb