interceptor dla profiles

This commit is contained in:
mar committed 2015-01-25 21:41:08 +01:00
1 parent aa4154fd7f
commit 6e9c332f3c
1 file changed
+1 -1
+1 -1
View File
@@ -40,7 +40,7 @@ public class Application extends WebMvcConfigurerAdapter implements CommandLineR
registry.addInterceptor(new RequestInterceptor("SENSORS_CRUD")).addPathPatterns("/sensors/*/*", "/sensors/*");
// registry.addInterceptor(new RequestInterceptor("REQUIREMENTS_CRUD")).addPathPatterns("/requirements**");
// registry.addInterceptor(new RequestInterceptor("RULES_CRUD")).addPathPatterns("/rules**");
// registry.addInterceptor(new RequestInterceptor("PROFILES_CRUD")).addPathPatterns("/profiles**");
registry.addInterceptor(new RequestInterceptor("PROFILES_CRUD")).addPathPatterns("/profiles/**", "/profiles/**/**", "/profiles/**/**/**");
}
/*