Page Type Action for URL with hyphen
Permalink
So I have:
Page type 'mytype' with actions of reg1(), reg2(), map(). Page /reg1 is type mytype and calls the controller action reg1() fine. Same for /reg2, /map.
I also have page /other-page which is of type mytype. What do i call the action for the URL location 'other-path' ?
Or do i have to delete and recreate pages without hyphens in the path as just creating an extra location of otherpage without a hypen doesn't seem to call otherpage() in the mytype controller.
Page type 'mytype' with actions of reg1(), reg2(), map(). Page /reg1 is type mytype and calls the controller action reg1() fine. Same for /reg2, /map.
I also have page /other-page which is of type mytype. What do i call the action for the URL location 'other-path' ?
Or do i have to delete and recreate pages without hyphens in the path as just creating an extra location of otherpage without a hypen doesn't seem to call otherpage() in the mytype controller.