You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
public class Main1Controller extends AppController {
public void index(){
}
}
Example URI: /access/one.two.three
generates this error:
Failed to render template: '/main_1/index.ftl.three.ftl'
As you can see, the name of the template is guessed incorrectly.
Expected behavior:
Since this is a a custom route, the framework needs to simply pass the custom segment as a param1st() and params(), as well as param("path") and not try to interpret the template name, but rather needs to default to index.ftl.
The text was updated successfully, but these errors were encountered:
Example RouteConfig:
Controller:
Example URI:
/access/one.two.three
As you can see, the name of the template is guessed incorrectly.
Expected behavior:
Since this is a a custom route, the framework needs to simply pass the custom segment as a
param1st()
andparams()
, as well asparam("path")
and not try to interpret the template name, but rather needs to default toindex.ftl
.The text was updated successfully, but these errors were encountered: