Skip to content

Commit

Permalink
Update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmelnikow committed Jan 6, 2019
1 parent 6779fe0 commit 247ec0f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions doc/rewriting-services.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,7 @@ still pass.
the route using a `pattern`. A `pattern` (e.g. `pattern: ':param1/:param2'`) is
the simplest way to declare the route, also the most readable, and will be
useful for displaying a badge builder with fields in the front end and
generating badge URLs programmatically. One limitation to keep in mind is that,
at present, the trailing parameter of a pattern can't be optional. If the last
part of a route is optional, like a branch, you will need to use a `format`
regex string (e.g. `format: '([^/]+/[^/]+)'`).
generating badge URLs programmatically.

3. When creating the initial route, you can stub out the service. A minimal
service extends BaseJsonService (or BaseService, or one of the others), and
Expand Down

0 comments on commit 247ec0f

Please sign in to comment.