Blame view

src/main/java/etunicorn/WebMvcConfig.java 411 Bytes
9182ba39   Geoffrey PREUD'HOMME   Ça affiche le num...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
  package etunicorn;
  
  import org.springframework.context.annotation.Configuration;
  import org.springframework.web.servlet.config.annotation.*;
  
  /**
   * Created by geoffrey on 29/01/17.
   */
  
  @Configuration
  public class WebMvcConfig extends WebMvcConfigurerAdapter {
  
      @Override
      public void addInterceptors(InterceptorRegistry registry) {
          registry.addInterceptor(new GitHeaderInterceptor());
      }
  }