Fixed implementation of path alias settings.

Now report an error if path is already aliased to another location.
This commit is contained in:
2015-07-07 17:20:25 +02:00
parent 37729f648a
commit 4c8af3ef66
5 changed files with 28 additions and 2 deletions

View File

@@ -182,7 +182,7 @@ feature -- URL
require
a_node.has_id
do
create Result.make (a_node.title, cms_api.path_alias (node_path (a_node)))
create Result.make (a_node.title, cms_api.location_alias (node_path (a_node)))
end
node_path (a_node: CMS_NODE): STRING