From 1f5c7ad8b9d293d42d25aab191b995b62f028025 Mon Sep 17 00:00:00 2001 From: "G. Gibson" Date: Sun, 30 Mar 2025 11:18:31 -0700 Subject: [PATCH] odd err --- Services/core.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Services/core.rb b/Services/core.rb index 2cd5dc5..4726ec6 100755 --- a/Services/core.rb +++ b/Services/core.rb @@ -449,7 +449,7 @@ module GxG ::File.expand_path("#{::GxG::SYSTEM.gxg_root()}/#{self.vfs_root()}") end # ### API Support - def publish_route(the_method=:get, path, options={}, &block) + def publish_route(the_method=:get, path="", options={}, &block) if ::GxG::Services::service_available?(:www) ::GxG::SERVICES[:www].call_event({:publish_route => {:http_method => the_method, :path => path, :options => options, :code => block}}, ::GxG::DB[:administrator]) end