mirror of
https://github.com/mistergibson/gxg-server.git
synced 2026-08-15 02:15:59 -07:00
bug fix www 304
This commit is contained in:
parent
1f5c7ad8b9
commit
e67618f0f2
1 changed files with 1 additions and 1 deletions
|
|
@ -301,7 +301,7 @@ www_service.on(:publish_route, {:description => "Publish Route", :usage => "{ :p
|
|||
# Code Usage:
|
||||
# ::GxG::SERVICES[:core].publish_route(:get,"/",{}) do |the_method,the_request,the_session|
|
||||
# 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}
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue