aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/www/ad
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2020-04-03 23:53:23 +0300
committerGravatar Vitaly Takmazov2020-04-03 23:53:23 +0300
commit7a2f89266c8f6337e4e81a2fd8488e0f80f4f9bd (patch)
tree3b83cf2edb18b224e6e0b7924624310d68acc93a /src/main/java/com/juick/www/ad
parent1b93e5b16ee5bc7253f3b06639fb9e9abb46acd0 (diff)
Reorganize layout and code cleanup
Diffstat (limited to 'src/main/java/com/juick/www/ad')
-rw-r--r--src/main/java/com/juick/www/ad/SapeService.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/com/juick/www/ad/SapeService.java b/src/main/java/com/juick/www/ad/SapeService.java
index 9d58f8b4..4ef4a213 100644
--- a/src/main/java/com/juick/www/ad/SapeService.java
+++ b/src/main/java/com/juick/www/ad/SapeService.java
@@ -19,7 +19,7 @@ package com.juick.www.ad;
import com.juick.model.User;
import com.juick.service.security.annotation.Visitor;
-import com.juick.www.controllers.MessagesWWW;
+import com.juick.www.controllers.Site;
import org.apache.commons.lang3.StringUtils;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.ui.ModelMap;
@@ -34,7 +34,7 @@ import ru.sape.Sape;
import javax.inject.Inject;
import java.net.URI;
-@ControllerAdvice(assignableTypes = MessagesWWW.class)
+@ControllerAdvice(assignableTypes = Site.class)
@ConditionalOnProperty("sape_user")
public class SapeService {