Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/main/java/org/example/crimearchive/cases/Cases.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public class Cases {
@ManyToMany
@JoinTable(
name = "account_cases",
joinColumns = @JoinColumn(name = "case_id"),
joinColumns = @JoinColumn(name = "report_id"),
inverseJoinColumns = @JoinColumn(name = "account_id")
)
private Set<Account> accounts = new HashSet<>();
Comment thread
gurkvatten marked this conversation as resolved.
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/templates/userpage.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ <h1>Här får alla vara så länge man är inloggad och har user rollen</h1>
</tr>
</tbody>
</table>
<a href="/private">Gå till admin sida</a><br/>
<a th:href="@{/reports}">Gå till admin sida</a><br/>
<a th:href="@{/profile}">Gå till profil</a>
</body>
</html>