Browse Source

Add categories.properties into property file list; update a comment

Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
v0.0.3-alpha
Pekka Helenius 4 years ago
parent
commit
aba7651452
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      bookstore/src/main/java/com/fjordtek/bookstore/config/AdditionalPropertiesConfig.java

+ 2
- 1
bookstore/src/main/java/com/fjordtek/bookstore/config/AdditionalPropertiesConfig.java View File

@ -36,9 +36,10 @@ public class AdditionalPropertiesConfig implements EnvironmentPostProcessor {
private List<Resource> getAdditionalResources() { private List<Resource> getAdditionalResources() {
List<Resource> resources = new ArrayList<Resource>(); List<Resource> resources = new ArrayList<Resource>();
// Add your additional properties files here
// Add your additional (classpath, filesystem, etc.) properties files here
resources.add(new ClassPathResource("website.properties")); resources.add(new ClassPathResource("website.properties"));
resources.add(new ClassPathResource("authentication.properties")); resources.add(new ClassPathResource("authentication.properties"));
resources.add(new ClassPathResource("categories.properties"));
return resources; return resources;
} }


Loading…
Cancel
Save