diff options
Diffstat (limited to 'src/main/java/com/juick/www/ad')
-rw-r--r-- | src/main/java/com/juick/www/ad/SapeService.java | 4 |
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 { |