Commit 3d93230a authored by alexpott's avatar alexpott
Browse files

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
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