In the Rules and Patterns section of Chapter 9 there is a typo and a possible formatting error.
1) Formatting error?
my_rule: url: /foo/:bar.:format param: { module: mymodule, action: myaction }
would be better as:
my_rule: url: /foo/:bar.:format[[BR]]
param: { module: mymodule, action: myaction }
(i.e. with an extra line break)
2) Typo:
"That way, an external URL like 'foo/12.xml' will math my_rule and execute mymodule/muaction with two parameters:"
Should be:
That way, an external URL like 'foo/12.xml' will match my_rule and execute mymodule/myaction with two parameters:
Over to you!
Christian