There is no attribute named `path` in `@RequestParam`, so I change it to
`name`.

Closes gh-1165
This commit is contained in:
nkjackzhang 2016-09-09 18:25:04 +08:00 committed by Stephane Nicoll
parent 1881aa5b5b
commit 170d8ba5c4
1 changed files with 1 additions and 1 deletions

View File

@ -1483,7 +1483,7 @@ The following code snippet shows the usage:
Parameters using this annotation are required by default, but you can specify that a
parameter is optional by setting ``@RequestParam``'s `required` attribute to `false`
(e.g., `@RequestParam(path="id", required=false)`).
(e.g., `@RequestParam(name="id", required=false)`).
Type conversion is applied automatically if the target method parameter type is not
`String`. See <<mvc-ann-typeconversion>>.