Commit 736bad69 authored by dje's avatar dje
Browse files

update breadcrumb route

parent 29d661b4
Loading
Loading
Loading
Loading
+1 −1
Changes for plugins/breadcrumb/breadcrumb.xqm: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@ Breadcrumb
declare
%rest:GET
%output:method("html")
%rest:path("/editions/{$project}/plugins/breadcrumb/{$route=.*\.xml}/{$currentPart}")
%rest:path("/{$project}/plugins/breadcrumb/{$route=.*\.xml}/{$currentPart}")
function max.plugin.breadcrumb:buildBreadcrumb($project, $route, $currentPart){
  let $dbPath := max.config:getProjectDBPath($project)  
  let $projectPrettyName := max.plugin.breadcrumb:getBreadcrumbTop($project)