lib/trinidad/rackup_web_app.rb in trinidad-0.7.1 vs lib/trinidad/rackup_web_app.rb in trinidad-0.7.2
- old
+ new
@@ -1,10 +1,10 @@
module Trinidad
class RackupWebApp < WebApp
def add_init_params
super
- @context.addParameter('rackup', rackup_script) unless @context.findParameter('rackup')
+ add_parameter_unless_exist('rackup', rackup_script)
end
def context_listener
'org.jruby.rack.RackServletContextListener'
end