This commit is contained in:
G. Gibson 2025-03-30 11:26:28 -07:00
parent e67618f0f2
commit 4d31b7dadf

View file

@ -301,7 +301,7 @@ www_service.on(:publish_route, {:description => "Publish Route", :usage => "{ :p
# Code Usage: # Code Usage:
# ::GxG::SERVICES[:core].publish_route(:get,"/",{}) do |the_method,the_request,the_session| # ::GxG::SERVICES[:core].publish_route(:get,"/",{}) do |the_method,the_request,the_session|
# end # end
Node0.publish_route(data[:http_method], data[:path], data[:options, &data[:code]]) Node0.publish_route(data[:http_method], data[:path], data[:options], &data[:code])
# #
{:result => true} {:result => true}
end end