Sunday, January 31, 2010

How to set home in grails

create an HomeController

class HomeController {

def index = {
}

create a view for the action index

add an entry "/" the urlMapping in the Configuration/UrlMappings.groovy
"/"(controller:"home")