From 7a2f89266c8f6337e4e81a2fd8488e0f80f4f9bd Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Fri, 3 Apr 2020 23:53:23 +0300 Subject: Reorganize layout and code cleanup --- src/main/java/com/juick/www/ad/SapeService.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/java/com/juick/www/ad') 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 { -- cgit v1.2.3