Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Include presentation mapping constraints
  • Loading branch information
gustavotrott committed Nov 7, 2022
1 parent 7d0a30b commit 6922bb6
Showing 1 changed file with 15 additions and 0 deletions.
Expand Up @@ -21,6 +21,9 @@ class UrlMappings {

"/bigbluebutton/presentation/$conference/$room/$presentation_name/slide/$id"(controller: "presentation") {
action = [GET: 'showSlide']
constraints {
id matches: /\d+/
}
}

"/bigbluebutton/presentation/$conference/$room/$presentation_name/thumbnails"(controller: "presentation") {
Expand All @@ -29,10 +32,16 @@ class UrlMappings {

"/bigbluebutton/presentation/$conference/$room/$presentation_name/thumbnail/$id"(controller: "presentation") {
action = [GET: 'showThumbnail']
constraints {
id matches: /\d+/
}
}

"/bigbluebutton/presentation/$conference/$room/$presentation_name/png/$id"(controller: "presentation") {
action = [GET: 'showPng']
constraints {
id matches: /\d+/
}
}

"/bigbluebutton/presentation/$conference/$room/$presentation_name/svgs"(controller: "presentation") {
Expand All @@ -41,6 +50,9 @@ class UrlMappings {

"/bigbluebutton/presentation/$conference/$room/$presentation_name/svg/$id"(controller: "presentation") {
action = [GET: 'showSvgImage']
constraints {
id matches: /\d+/
}
}

"/bigbluebutton/presentation/$conference/$room/$presentation_name/textfiles"(controller: "presentation") {
Expand All @@ -49,6 +61,9 @@ class UrlMappings {

"/bigbluebutton/presentation/$conference/$room/$presentation_name/textfiles/$id"(controller: "presentation") {
action = [GET: 'showTextfile']
constraints {
id matches: /\d+/
}
}

"/bigbluebutton/presentation/download/$meetingId/$presId"(controller: "presentation") {
Expand Down

0 comments on commit 6922bb6

Please sign in to comment.