This is one of the lines in the routes file:
GET /detail controllers.Message.detail(type: String, text: String, page: Integer ?= 0)
When I tried to load the page, she highlighted this line and indicated "ID expected, but" type "found." Now, if I change the setting from type: Stringto newType: String, the page will load normally.
What is the problem with the word type? Are there any reserved words in the routes file?
source
share