You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@grails.apache.org by jd...@apache.org on 2025/07/11 01:22:34 UTC

(grails-core) branch 7.0.x updated: fix: #14894 - add missing slash for snapshot dropdown

This is an automated email from the ASF dual-hosted git repository.

jdaugherty pushed a commit to branch 7.0.x
in repository https://gitbox.apache.org/repos/asf/grails-core.git


The following commit(s) were added to refs/heads/7.0.x by this push:
     new 5d69c1bdd2 fix: #14894 - add missing slash for snapshot dropdown
5d69c1bdd2 is described below

commit 5d69c1bdd246ef9c64ccb9b5918cc4ec8c030802
Author: James Daugherty <jd...@jdresources.net>
AuthorDate: Thu Jul 10 21:22:22 2025 -0400

    fix: #14894 - add missing slash for snapshot dropdown
---
 .../main/groovy/grails/doc/dropdown/CreateReleaseDropDownTask.groovy    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/grails-gradle/docs-core/src/main/groovy/grails/doc/dropdown/CreateReleaseDropDownTask.groovy b/grails-gradle/docs-core/src/main/groovy/grails/doc/dropdown/CreateReleaseDropDownTask.groovy
index da0145a27f..bb67004382 100644
--- a/grails-gradle/docs-core/src/main/groovy/grails/doc/dropdown/CreateReleaseDropDownTask.groovy
+++ b/grails-gradle/docs-core/src/main/groovy/grails/doc/dropdown/CreateReleaseDropDownTask.groovy
@@ -148,7 +148,7 @@ abstract class CreateReleaseDropDownTask extends DefaultTask {
      */
     private List<String> options(String version, String pageRelativePath, List<SoftwareVersion> softwareVersions) {
         List<String> options = []
-        final String snapshotHref = GRAILS_DOC_BASE_URL + "/snapshot" + pageRelativePath
+        final String snapshotHref = GRAILS_DOC_BASE_URL + "/snapshot/" + pageRelativePath
         options << option(snapshotHref, "SNAPSHOT", version.endsWith("-SNAPSHOT"))
 
         softwareVersions