Skip to content
Permalink
Browse files
Merge pull request #4 from mgeiss/develop
added path configurer to allow dots in url
  • Loading branch information
mgeiss committed Apr 26, 2017
2 parents a93cee0 + 960bd98 commit f9ef719a303edc0d6a7bde1998e4c7c4d9230ce9
Showing 1 changed file with 8 additions and 1 deletion.
@@ -30,6 +30,8 @@
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
import org.springframework.web.servlet.config.annotation.PathMatchConfigurer;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;

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

public RhythmConfiguration() {
super();
@@ -64,4 +66,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 f9ef719

Please sign in to comment.