Реализован обработчик для смены языка аккаунта

This commit is contained in:
ErickSkrauch
2016-05-19 01:10:05 +03:00
parent 45678f8786
commit ad42411a89
5 changed files with 139 additions and 0 deletions

View File

@ -50,4 +50,11 @@ class AccountsRoute extends BasePage {
]);
}
public function changeLang($lang = null) {
$this->route = ['accounts/change-lang'];
$this->actor->sendPOST($this->getUrl(), [
'lang' => $lang,
]);
}
}