title: Specify a controller to main.gsp layout
body: <p>I know I can specify a controller for root page using <code>"/"(controller: "default")</code> in UrlMappings.groovy, however I would like to make my main layout page (in that case is main.gsp) to access at least one defined controller. I've tried <code>"/layouts/main.gsp"(controller: "default")</code> but didn't work. How can I accomplish it? Thanks!</p>