mirror of
https://github.com/MarijnDoeve/TijdVoorDeTest.git
synced 2026-03-06 04:44:19 +01:00
This commit removes nullable Uuid properties for consistency, transitions the Correction entity to QuizCandidate with associated migrations, refactors queries and repositories, adjusts related routes and controllers to use the new entity, updates front-end assets for elimination workflows, and standardizes route requirements and naming conventions.
11 lines
263 B
JavaScript
11 lines
263 B
JavaScript
import {Controller} from '@hotwired/stimulus';
|
|
|
|
export default class extends Controller {
|
|
next() {
|
|
const currentUrl = window.location.href;
|
|
const urlParts = currentUrl.split('/');
|
|
urlParts.pop();
|
|
window.location.href = urlParts.join('/');
|
|
}
|
|
}
|