Development

Changeset 10605

You must first sign up to be able to contribute.

Changeset 10605

Show
Ignore:
Timestamp:
08/01/08 23:10:40 (4 months ago)
Author:
dwhittle
Message:

doc: fixed typo in routing chapter (relates to #4117)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • doc/branches/1.1/book/09-Links-and-the-Routing-System.txt

    r10587 r10605  
    440440>**New in symfony 1.1** named wildcards can be separated by a slash or a dot, so you can write a pattern like: 
    441441> 
    442 >    my_rule: 
    443 >      url:   /foo/:bar.:format 
     442>    my_rule:  
     443>      url:   /foo/:bar.:format  
    444444>      param: { module: mymodule, action: myaction } 
    445445> 
    446 >That way, an external URL like 'foo/12.xml' will math `my_rule` and execute `mymodule/muaction` with two parameters: `$bar=12` and `$format=xml`. 
     446>That way, an external URL like 'foo/12.xml' will match `my_rule` and execute `mymodule/myaction` with two parameters: `$bar=12` and `$format=xml`. 
    447447>You can add more separators by changing the `segment_separators` parameters value in the `sfPatternRouting` factory configuration (see chapter 19). 
    448448 
  • doc/branches/1.2/book/09-Links-and-the-Routing-System.txt

    r10587 r10605  
    444444>      param: { module: mymodule, action: myaction } 
    445445> 
    446 >That way, an external URL like 'foo/12.xml' will math `my_rule` and execute `mymodule/muaction` with two parameters: `$bar=12` and `$format=xml`. 
     446>That way, an external URL like 'foo/12.xml' will match `my_rule` and execute `mymodule/myaction` with two parameters: `$bar=12` and `$format=xml`. 
    447447>You can add more separators by changing the `segment_separators` parameters value in the `sfPatternRouting` factory configuration (see chapter 19). 
    448448