Fixed node editing workflow (especially creation/updating).

This commit is contained in:
2015-04-30 19:46:18 +02:00
parent 99b2fa9fdb
commit 1603086905

View File

@@ -117,9 +117,9 @@ feature -- HTTP Methods
if req.path_info.ends_with_general ("/edit") then if req.path_info.ends_with_general ("/edit") then
create edit_response.make (req, res, api, node_api) create edit_response.make (req, res, api, node_api)
edit_response.execute edit_response.execute
-- elseif req.path_info.same_string_general ("/node/") then elseif req.path_info.starts_with_general ("/node/add/") then
-- create edit_response.make (req, res, api, node_api) create edit_response.make (req, res, api, node_api)
-- edit_response.execute edit_response.execute
else else
to_implement ("REST API") to_implement ("REST API")
send_not_implemented ("REST API not yet implemented", req, res) send_not_implemented ("REST API not yet implemented", req, res)