mirror of
https://github.com/elyby/accounts.git
synced 2025-05-31 14:11:46 +05:30
Реализован обработчик для смены языка аккаунта
This commit is contained in:
@ -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,
|
||||
]);
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user