@Bean
public TilesConfigurer tilesConfigurer() {
final String[] definitions = {"classpath*:META-INF/tiles/definitions.xml"};
final TilesConfigurer configurer = new TilesConfigurer();
configurer.setTilesInitializer(lightAdminSpringTilesInitializer(definitions));
configurer.setDefinitions(definitions);
configurer.setPreparerFactoryClass(SpringBeanPreparerFactory.class);
configurer.setCheckRefresh(true);
return configurer;
}