[bs-153] Don't expose classes as resource

Made classpath:/[static,resourecs,public] available instead. Some
sample apps had to change so probably some gs-* guides etc as well?

[Fixes #51368907]
This commit is contained in:
Dave Syer
2013-07-16 15:30:26 +01:00
parent 6c3fd2b2d0
commit f0d5b8bbe3
6 changed files with 7 additions and 11 deletions

View File

@@ -78,7 +78,7 @@ public class SampleWebUiApplicationTests {
@Test
public void testCss() throws Exception {
ResponseEntity<String> entity = getRestTemplate().getForEntity(
"http://localhost:8080/css/bootstrap.min.css", String.class);
"http://localhost:8080/resources/css/bootstrap.min.css", String.class);
assertEquals(HttpStatus.OK, entity.getStatusCode());
assertTrue("Wrong body:\n" + entity.getBody(), entity.getBody().contains("body"));
}