Skip to content
Snippets Groups Projects
Commit e9e032fe authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms
Browse files

consultation: redirect to administration if user may edit the dates and visits...

Closes #931
parent 8dd6ffbe
No related branches found
No related tags found
No related merge requests found
......@@ -14,6 +14,10 @@ class Consultation_OverviewController extends ConsultationController
{
parent::before_filter($action, $args);
if ($this->range->isEditableByUser()) {
$this->redirect('consultation/admin');
}
PageLayout::setTitle(sprintf(
'%s: %s',
$this->getConsultationTitle(),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment