Skip to content
Permalink
Browse files
Merge branch 'develop' of https://github.com/mifosio/rhythm into develop
# Conflicts:
#	service/src/main/java/io/mifos/rhythm/service/RhythmConfiguration.java
  • Loading branch information
mifosio-04-04-2018 committed May 19, 2017
2 parents 3c0cfc7 + f9ef719 commit b6117f67d917f86ab623b881e4b520ad65ab9de5
Showing 1 changed file with 8 additions and 1 deletion.
@@ -33,6 +33,8 @@
import org.springframework.context.annotation.Configuration;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.web.servlet.config.annotation.PathMatchConfigurer;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;

/**
* @author Myrle Krantz
@@ -62,7 +64,7 @@
@EnableJpaRepositories({
"io.mifos.rhythm.service.internal.repository"
})
public class RhythmConfiguration {
public class RhythmConfiguration extends WebMvcConfigurerAdapter {

public RhythmConfiguration() {
super();
@@ -72,4 +74,9 @@ public RhythmConfiguration() {
public Logger logger() {
return LoggerFactory.getLogger(ServiceConstants.LOGGER_NAME);
}

@Override
public void configurePathMatch(final PathMatchConfigurer configurer) {
configurer.setUseSuffixPatternMatch(Boolean.FALSE);
}
}

0 comments on commit b6117f6

Please sign in to comment.