defaultAction
Purpose
Allows you to explicitly specify the default action that should be executed if no action is specified in the URI.Examples
class BookController { static defaultAction = "list" def list = { [books:Book.list()] } }
(Quick Reference)
defaultActionPurposeAllows you to explicitly specify the default action that should be executed if no action is specified in the URI.Examplesclass BookController { static defaultAction = "list" def list = { [books:Book.list()] } } |
Command LineConstraintsControllersDatabase MappingDomain ClassesPlug-insServicesServlet APITag LibrariesTags |