File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
src/main/java/ru/mystamps/web Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -75,6 +75,7 @@ public final class Url {
75
75
public static final String JQUERY_JS = "/public/jquery/jquery.min.js" ;
76
76
public static final String CATALOG_UTILS_JS = "/public/js/CatalogUtils.js" ;
77
77
78
+ // see also ru.mystamps.web.support.togglz.TogglzConfig#getTogglzConsole()
78
79
public static final String TOGGLZ_CONSOLE_PAGE = "/togglz" ;
79
80
80
81
private Url () {
Original file line number Diff line number Diff line change 33
33
import org .togglz .core .repository .jdbc .JDBCStateRepository ;
34
34
import org .togglz .spring .security .SpringSecurityUserProvider ;
35
35
36
+ import ru .mystamps .web .Url ;
37
+
36
38
@ Configuration
37
39
public class TogglzConfig {
38
40
@@ -60,7 +62,7 @@ public ServletRegistrationBean getTogglzConsole() {
60
62
servlet .setName ("TogglzConsole" );
61
63
servlet .setServlet (new TogglzConsoleServlet ());
62
64
// See also src/main/java/ru/mystamps/web/support/spring/security/SecurityConfig.java
63
- servlet .setUrlMappings (Collections .singletonList ("/togglz /*" ));
65
+ servlet .setUrlMappings (Collections .singletonList (Url . TOGGLZ_CONSOLE_PAGE + " /*" ));
64
66
return servlet ;
65
67
}
66
68
You can’t perform that action at this time.
0 commit comments