im having a problem with the CakePHP routing and the cookbook does not really help me out there.
im trying to route a parameter as a extension to an action. how can i do that without typing routes manually for each of my actions?
for example:
"users/settings/general" to UsersController::settings_general()
"users/settings/privacy" to UsersController::settings_privacy()
and so on
or should i just check in the settings action which parameter was given and call it from the controller? something like this
<?php
..
$sub_action = $this->request->params[0]
$this->settings_$subaction();
?>