Input form for creation
Input form for creation
Strong parameter definitions for creation form
Strong parameter definitions for creation form
SkinnyModel for this resource.
SkinnyModel for this resource.
Resource name in the singular.
Resource name in the singular. This name will be used for path and validator's prefix.
Resource name in the plural.
Resource name in the plural. This name will be used for path and directory name to locale template files.
Input form for modification
Input form for modification
Strong parameter definitions for modification form
Strong parameter definitions for modification form
Params for creation.
Params for creation.
Creates new resource.
Creates new resource.
POST /{resources}
format
created response if success
Outputs debug logging for passed parameters.
Outputs debug logging for passed parameters.
input form
id if exists
Outputs debug logging for permitted parameters.
Outputs debug logging for permitted parameters.
permitted strong parameters
id if exists
Destroys the specified resource.
Destroys the specified resource.
DELETE /{resources}/{id}
id
format
result
Executes resource creation.
Executes resource creation.
permitted parameters
generated resource id
Executes deletion of the specified single resource.
Executes deletion of the specified single resource.
id
count
Executes modification for the specified resource.
Executes modification for the specified resource.
id
permitted parameters
count
Shows input form for modification.
Shows input form for modification.
GET /{resources}/{id}/edit
id
format
input form
Id field name.
Id field name.
Id parameter name.
Id parameter name.
Item variable name in view templates.
Item variable name in view templates.
Items variable name in view templates.
Items variable name in view templates.
Shows input form for creation.
Shows input form for creation.
GET /{resources}/new
format
input form
Normalized base path.
Normalized base path. This method should not be overridden.
Base path.
Base path.
Base path prefix.
Base path prefix. (e.g. /admin/{resourcesName} )
Set notice flash message for successful completion of creation.
Set notice flash message for successful completion of creation.
Set notice flash message for successful completion of deletion.
Set notice flash message for successful completion of deletion.
Set notice flash message for successful completion of modification.
Set notice flash message for successful completion of modification.
Show single resource.
Show single resource.
GET /{resources}/{id} GET /{resources}/{id}.xml GET /{resources}/{id}.json
id
format
single resource
Shows a list of resource.
Shows a list of resource.
GET /{resources}/ GET /{resources}/?page=1&size=10 GET /{resources} GET /{resources}.xml GET /{resources}.json
format
list of resource
Params for modification.
Params for modification.
Updates the specified single resource.
Updates the specified single resource.
PUT /{resources}/{id}
id
format
result
Use relative path if true.
Use relative path if true. This is set as false by default.
If you set this as true, routing will become simpler but /{resources}.xml or /{resources}.json don't work.
Creates validator with prefix(resourceName).
Creates validator with prefix(resourceName).
params
validations
current locale
validator
Directory path which contains view templates under src/main/webapp/WEB-INF/views.
Directory path which contains view templates under src/main/webapp/WEB-INF/views.
Each resource item element name in the XML response.
Each resource item element name in the XML response.
Root element name in the XML response.
Root element name in the XML response.
Actions for Skinny resource.