diff --git a/app/controllers/course/enrolment.php b/app/controllers/course/enrolment.php index a2d3c9cf26bb3159a32afbaf0e938136e8b971aa..89145226edc0e33871689c76e0de5c90bde1337f 100644 --- a/app/controllers/course/enrolment.php +++ b/app/controllers/course/enrolment.php @@ -33,7 +33,7 @@ class Course_EnrolmentController extends AuthenticatedController $this->course_id = $args[0]; if (!in_array($action, words('apply claim delete order_down order_up'))) { - $this->redirect($this->url_for('/apply/' . $action)); + $this->redirect($this->applyURL($action)); return false; } if (!get_object_type($this->course_id, ['sem'])) {