I'm trying to upload a file in grails. The generated scaffold is not working for me and giving me a 404 looking for 'save.jsp'
Domain
class Simple{
byte [] avatar
static constraints = {
avatar nullable: true, maxSize: 1000000
}
}
Controller
class SimpleController{
def scaffold = Simple
//or
static scaffold = Simple
}
The issue has appeared previously and has been marked resolved here http://jira.grails.org/browse/GPSCAFFOLD-69, but I have the issue with grails 2.3.6 on mac OSX.
Am I missing something here?