mirror of
https://github.com/mistergibson/gxg-server.git
synced 2026-08-15 02:15:59 -07:00
bug fix
This commit is contained in:
parent
e67618f0f2
commit
4d31b7dadf
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:
|
# 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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue