annotate docs/pages/support.md @ 380:f33712c4cfab

routing: Fix bugs with matching URLs with correct route but missing metadata. When matching a route like `/foo/%slug%` against an URL like `/foo`, the route will (correctly) return a match, but it will be completely missing the `slug` metadata, resulting in problems elsewhere. This change makes it so that any missing route metadata will be filled in with an empty string. And because this means generated URLs may differ from the incoming URL when using trailing slashes (`/foo/` _vs._ `/foo`), we make the assert in the chef server handle those discrepancies.
author Ludovic Chabant <ludovic@chabant.com>
date Sun, 10 May 2015 00:34:21 -0700
parents c750dc21d55d
children 0c3b811d2c26
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
243
26e59f837558 docs: Add embryo of a documentation website.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
1 ---
26e59f837558 docs: Add embryo of a documentation website.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
2 title: Support
26e59f837558 docs: Add embryo of a documentation website.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
3 header_class: support
26e59f837558 docs: Add embryo of a documentation website.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
4 ---
26e59f837558 docs: Add embryo of a documentation website.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
5
325
c750dc21d55d docs: Quick support info page.
Ludovic Chabant <ludovic@chabant.com>
parents: 243
diff changeset
6 If you have a problem with PieCrust, there are a few ways to solve it:
243
26e59f837558 docs: Add embryo of a documentation website.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
7
325
c750dc21d55d docs: Quick support info page.
Ludovic Chabant <ludovic@chabant.com>
parents: 243
diff changeset
8 * Check the [documentation][doc] one more time! You never know, the solution may be in
c750dc21d55d docs: Quick support info page.
Ludovic Chabant <ludovic@chabant.com>
parents: 243
diff changeset
9 there.
c750dc21d55d docs: Quick support info page.
Ludovic Chabant <ludovic@chabant.com>
parents: 243
diff changeset
10 * Is the documentation wrong or missing something? If you know what must be
c750dc21d55d docs: Quick support info page.
Ludovic Chabant <ludovic@chabant.com>
parents: 243
diff changeset
11 fixed, you can get the source from [BitBucket][bbsrc] or [Github][ghsrc] and
c750dc21d55d docs: Quick support info page.
Ludovic Chabant <ludovic@chabant.com>
parents: 243
diff changeset
12 make a pull request.
c750dc21d55d docs: Quick support info page.
Ludovic Chabant <ludovic@chabant.com>
parents: 243
diff changeset
13 * If you're pretty sure you found a bug, please file a report on
c750dc21d55d docs: Quick support info page.
Ludovic Chabant <ludovic@chabant.com>
parents: 243
diff changeset
14 [BitBucket][bbbug] or [Github][ghbug]. If by chance you've already fixed it,
c750dc21d55d docs: Quick support info page.
Ludovic Chabant <ludovic@chabant.com>
parents: 243
diff changeset
15 even better! Make a pull request, you know the drill.
c750dc21d55d docs: Quick support info page.
Ludovic Chabant <ludovic@chabant.com>
parents: 243
diff changeset
16 * If you have questions, hit the [me][] on [Twitter][].
c750dc21d55d docs: Quick support info page.
Ludovic Chabant <ludovic@chabant.com>
parents: 243
diff changeset
17
c750dc21d55d docs: Quick support info page.
Ludovic Chabant <ludovic@chabant.com>
parents: 243
diff changeset
18
c750dc21d55d docs: Quick support info page.
Ludovic Chabant <ludovic@chabant.com>
parents: 243
diff changeset
19 [doc]: {{docurl('')}}
c750dc21d55d docs: Quick support info page.
Ludovic Chabant <ludovic@chabant.com>
parents: 243
diff changeset
20 [bbsrc]: https://bitbucket.org/ludovicchabant/piecrust2
c750dc21d55d docs: Quick support info page.
Ludovic Chabant <ludovic@chabant.com>
parents: 243
diff changeset
21 [bbbug]: https://bitbucket.org/ludovicchabant/piecrust2/issues?status=new&status=open
c750dc21d55d docs: Quick support info page.
Ludovic Chabant <ludovic@chabant.com>
parents: 243
diff changeset
22 [ghsrc]: https://github.com/ludovicchabant/PieCrust2
c750dc21d55d docs: Quick support info page.
Ludovic Chabant <ludovic@chabant.com>
parents: 243
diff changeset
23 [ghbug]: https://github.com/ludovicchabant/PieCrust2/issues
c750dc21d55d docs: Quick support info page.
Ludovic Chabant <ludovic@chabant.com>
parents: 243
diff changeset
24 [me]: http://ludovic.chabant.com
c750dc21d55d docs: Quick support info page.
Ludovic Chabant <ludovic@chabant.com>
parents: 243
diff changeset
25 [twitter]: https://www.twitter.com/ludovicchabant
c750dc21d55d docs: Quick support info page.
Ludovic Chabant <ludovic@chabant.com>
parents: 243
diff changeset
26