|
@@ -8,11 +8,13 @@ import com.jzdsh.auto.app.interceptor.PjaxInterceptor;
|
|
public class AdminRoutes extends Routes {
|
|
public class AdminRoutes extends Routes {
|
|
@Override
|
|
@Override
|
|
public void config() {
|
|
public void config() {
|
|
- setBaseViewPath("/_view/_admin");
|
|
|
|
|
|
+ setBaseViewPath("/src/main/webapp");
|
|
|
|
|
|
- addInterceptor(new PjaxInterceptor());
|
|
|
|
- addInterceptor(new AdminAuthInterceptor());
|
|
|
|
|
|
+ add("/admin", AdminIndexController.class,"index");
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ // addInterceptor(new PjaxInterceptor());
|
|
|
|
+ // addInterceptor(new AdminAuthInterceptor());
|
|
|
|
|
|
- add("/admin", AdminIndexController.class,"/index");
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|