I have a URL I would like to look something like http://server/my/action-name
Obviously, I can't have a - in the ControllerName function and an underscore doesn't work. Is this even possible?
By default
http://server/my/action-name
will map to
MyController::actionNameAction()
but you can also setup arbitrary routes with the Standard Router.
use camel casing. It works for actions:
function actionNameAction()
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With