When you want to have a link like
In Cakephp you have to rewrite it to:
If you don't do this cakephp complains that within the users controller there is no action called 54. Is there no other way around this? Like to tell cakephp that when the second variable in the url is a number (so in this case 54), to refer it to the index function:
public function index($userId = null).
I hope this makes sense