Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixed failing test

  • Loading branch information...
commit 83c50643406e132e326f2b146a25245d1e38fd57 1 parent a6444f1
@graemerocher graemerocher authored
View
4 grails-core/src/main/groovy/org/codehaus/groovy/grails/core/io/DefaultResourceLocator.java
@@ -139,7 +139,9 @@ else if (!Environment.isWarDeployed()) {
}
if(resource == null || !resource.exists()) {
- resource = defaultResourceLoader != null ? defaultResourceLoader.getResource(uri) : null;
+ Resource tmp = defaultResourceLoader != null ? defaultResourceLoader.getResource(uri) : null;
+ if(tmp != null && tmp.exists())
+ resource = tmp;
}
if (resource != null) {
Please sign in to comment.
Something went wrong with that request. Please try again.