Add Grails sample app
Closes gh-250
This commit is contained in:
committed by
Andy Wilkinson
parent
c1d245f7d4
commit
64803b5fae
@@ -0,0 +1,11 @@
|
||||
package com.example
|
||||
|
||||
class InternalServerErrorController {
|
||||
|
||||
def index() {
|
||||
render(contentType: 'application/json') {
|
||||
error = 500
|
||||
message = "Internal server error"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user