diff --git a/grails-app/controllers/au/org/ala/biocollect/ReferenceAssessmentController.groovy b/grails-app/controllers/au/org/ala/biocollect/ReferenceAssessmentController.groovy index 299e70cd0..b6ede6c06 100644 --- a/grails-app/controllers/au/org/ala/biocollect/ReferenceAssessmentController.groovy +++ b/grails-app/controllers/au/org/ala/biocollect/ReferenceAssessmentController.groovy @@ -17,7 +17,7 @@ class ReferenceAssessmentController { def baseUrl = '' if (!refDoc["url"].startsWith('http')) { - baseUrl = grailsApplication.config.grails.serverURL + baseUrl = grailsApplication.config.getProperty("grails.serverURL", String) } def assessPhoto = [ @@ -77,7 +77,7 @@ class ReferenceAssessmentController { } def requestRecords() { - def config = grailsApplication.config.refAssess + def config = grailsApplication.config.getProperty("refAssess", Map) def body = request.JSON def result