Changeset 10587
- Timestamp:
- 08/01/08 17:41:38 (4 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
doc/branches/1.0/book/09-Links-and-the-Routing-System.txt
r10323 r10587 592 592 593 593 prod: 594 .settings 594 .settings: 595 595 suffix: .html 596 596 doc/branches/1.1/book/09-Links-and-the-Routing-System.txt
r10322 r10587 598 598 To add a suffix to every external URL generated by the routing system, change the `suffix` value in the application `settings.yml`, as shown in Listing 9-22. 599 599 600 Listing 9-22 - Setting a Suffix for All URLs, in `frontend/config/ settings.yml`600 Listing 9-22 - Setting a Suffix for All URLs, in `frontend/config/factories.yml` 601 601 602 602 prod: 603 .settings 604 suffix: .html 603 routing: 604 param: 605 suffix: .html 605 606 606 607 The default suffix is set to a period (`.`), which means that the routing system doesn't add a suffix unless you specify it. doc/branches/1.2/book/09-Links-and-the-Routing-System.txt
r10324 r10587 598 598 To add a suffix to every external URL generated by the routing system, change the `suffix` value in the application `settings.yml`, as shown in Listing 9-22. 599 599 600 Listing 9-22 - Setting a Suffix for All URLs, in `frontend/config/ settings.yml`600 Listing 9-22 - Setting a Suffix for All URLs, in `frontend/config/factories.yml` 601 601 602 602 prod: 603 .settings 604 suffix: .html 603 routing: 604 param: 605 suffix: .html 605 606 606 607 The default suffix is set to a period (`.`), which means that the routing system doesn't add a suffix unless you specify it.