Rename gdprdelete action to gdpr-delete

This commit is contained in:
bscheshirwork
2018-10-15 18:29:03 +03:00
parent c0afdd55c9
commit 10afb076c4
6 changed files with 9 additions and 7 deletions

View File

@ -107,7 +107,7 @@ class SettingsController extends Controller
'export',
'networks',
'privacy',
'gdprdelete',
'gdpr-delete',
'disconnect',
'delete',
'two-factor',
@ -167,7 +167,7 @@ class SettingsController extends Controller
]);
}
public function actionGdprdelete()
public function actionGdprDelete()
{
if (!$this->module->enableGdprCompliance)
throw new NotFoundHttpException();
@ -220,7 +220,7 @@ class SettingsController extends Controller
}
return $this->render('gdprdelete', [
return $this->render('gdpr-delete', [
'model' => $form,
]);
}