lib/trinidad/server.rb in trinidad-0.8.2 vs lib/trinidad/server.rb in trinidad-0.8.3
- old
+ new
@@ -36,10 +36,10 @@
enable_naming
add_ssl_connector if ssl_enabled?
add_ajp_connector if ajp_enabled?
- Trinidad::Extensions.configure_server_extensions(@config[:extensions], @tomcat)
+ @tomcat = Trinidad::Extensions.configure_server_extensions(@config[:extensions], @tomcat)
end
def create_web_apps
@config[:web_apps].each do |name, app|
app[:context_path] ||= (name.to_s == 'default' ? '/' : "/#{name.to_s}")