Skip to content
Snippets Groups Projects

Development

79 files
+ 2260
190
Compare changes
  • Side-by-side
  • Inline

Files

@@ -21,6 +21,8 @@ import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;
import nl.tudelft.queue.dialect.AuthenticatedPersonDialect;
import nl.tudelft.queue.dialect.ProfileDialect;
import nl.tudelft.queue.repository.ProfileRepository;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
@@ -44,6 +46,11 @@ public class ThymeleafConfig {
return new AuthenticatedPersonDialect();
}
@Bean
public ProfileDialect profileDialect(ProfileRepository profileRepository) {
return new ProfileDialect(profileRepository);
}
/**
* Checks whether today is the day.
*
Loading