Commit 3d93230a authored by alexpott's avatar alexpott

Issue #2470980 by PieterJanPut: Use $this->redirect() instead of...

Issue #2470980 by PieterJanPut: Use $this->redirect() instead of ResponseRedirect in LocaleController::checkTranslation
parent 3d6c0f0f
......@@ -37,8 +37,7 @@ public function checkTranslation() {
return batch_process('admin/reports/translations');
}
// @todo Use $this->redirect() after https://drupal.org/node/1978926.
return new RedirectResponse($this->getUrlGenerator()->generateFromPath('admin/reports/translations', array('absolute' => TRUE)));
return $this->redirect('locale.translate_status');
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment