|
|
@ -3,8 +3,6 @@ package org.airsonic.player.controller; |
|
|
|
import org.airsonic.player.domain.UserSettings; |
|
|
|
import org.airsonic.player.domain.UserSettings; |
|
|
|
import org.airsonic.player.service.SecurityService; |
|
|
|
import org.airsonic.player.service.SecurityService; |
|
|
|
import org.airsonic.player.service.SettingsService; |
|
|
|
import org.airsonic.player.service.SettingsService; |
|
|
|
import org.slf4j.Logger; |
|
|
|
|
|
|
|
import org.slf4j.LoggerFactory; |
|
|
|
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.stereotype.Controller; |
|
|
|
import org.springframework.stereotype.Controller; |
|
|
|
import org.springframework.web.bind.annotation.RequestMapping; |
|
|
|
import org.springframework.web.bind.annotation.RequestMapping; |
|
|
@ -20,9 +18,6 @@ import java.util.Map; |
|
|
|
@RequestMapping("/index") |
|
|
|
@RequestMapping("/index") |
|
|
|
public class IndexController { |
|
|
|
public class IndexController { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private static final Logger LOG = LoggerFactory.getLogger(IndexController.class); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Autowired |
|
|
|
@Autowired |
|
|
|
private SecurityService securityService; |
|
|
|
private SecurityService securityService; |
|
|
|
@Autowired |
|
|
|
@Autowired |
|
|
@ -41,6 +36,4 @@ public class IndexController { |
|
|
|
map.put("brand", settingsService.getBrand()); |
|
|
|
map.put("brand", settingsService.getBrand()); |
|
|
|
return new ModelAndView("index", "model", map); |
|
|
|
return new ModelAndView("index", "model", map); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|