I am trying to do this:
"/templates/$tml"{
view: "/templates/$tml"
}
and this:
"/templates/$tml"{
view: "/templates/${tml}"
}
and this:
"/templates/$tml"{
view: "/templates/${params.tml}"
}
But none of them work. I have many GSP files in the template folder, and I donβt want to map them one by one, instead I want some kind of common code to display them as a controller map.
Thanks for the help!
source
share