lib/trinidad/web_app.rb in trinidad-0.9.9 vs lib/trinidad/web_app.rb in trinidad-0.9.10
- old
+ new
@@ -46,10 +46,11 @@
def public_root
@app_config[:public] || @config[:public] || 'public'
end
- %w{web_app_dir libs_dir classes_dir default_web_xml environment jruby_min_runtimes jruby_max_runtimes rackup}.each do |method_name|
+ %w{web_app_dir libs_dir classes_dir default_web_xml environment
+ jruby_min_runtimes jruby_max_runtimes rackup log}.each do |method_name|
define_method method_name do
sym = method_name.to_sym
@app_config[sym] || @config[sym]
end
end