File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
src/main/java/ru/mystamps/web Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -74,9 +74,6 @@ public final class Url {
74
74
public static final String SELECTIZE_CSS_CDN = "https://cdnjs.cloudflare.com/ajax/libs/selectize.js/0.12.4/css/selectize.bootstrap3.min.css" ;
75
75
public static final String SELECTIZE_JS_CDN = "https://cdnjs.cloudflare.com/ajax/libs/selectize.js/0.12.4/js/standalone/selectize.min.js" ;
76
76
77
- // see also ru.mystamps.web.support.togglz.TogglzConfig#getTogglzConsole()
78
- public static final String TOGGLZ_CONSOLE_PAGE = "/togglz" ;
79
-
80
77
// see also src/main/resources/application-test.properties
81
78
public static final String H2_CONSOLE_PAGE = "/console" ;
82
79
Original file line number Diff line number Diff line change 29
29
import org .togglz .core .repository .cache .CachingStateRepository ;
30
30
import org .togglz .core .repository .jdbc .JDBCStateRepository ;
31
31
import org .togglz .spring .security .SpringSecurityUserProvider ;
32
- import ru .mystamps .web .Url ;
33
32
import ru .mystamps .web .support .spring .security .StringAuthority ;
34
33
35
34
import javax .sql .DataSource ;
38
37
@ Configuration
39
38
@ RequiredArgsConstructor
40
39
public class TogglzConfig {
40
+
41
+ private static final String TOGGLZ_CONSOLE_PAGE = "/togglz" ;
42
+
41
43
private final DataSource dataSource ;
42
44
43
45
@ Bean
@@ -67,7 +69,7 @@ public ServletRegistrationBean getTogglzConsole() {
67
69
servlet .setName ("TogglzConsole" );
68
70
servlet .setServlet (new TogglzConsoleServlet ());
69
71
// See also src/main/java/ru/mystamps/web/support/spring/security/SecurityConfig.java
70
- servlet .setUrlMappings (Collections .singletonList (Url . TOGGLZ_CONSOLE_PAGE + "/*" ));
72
+ servlet .setUrlMappings (Collections .singletonList (TOGGLZ_CONSOLE_PAGE + "/*" ));
71
73
return servlet ;
72
74
}
73
75
You can’t perform that action at this time.
0 commit comments