mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-16 07:11:19 +08:00
refactored exceptions.
I18N WIP.
This commit is contained in:
@ -45,7 +45,7 @@ class Controller extends \yii\base\Controller
|
||||
*/
|
||||
public function invalidActionParams($action, $exception)
|
||||
{
|
||||
throw new HttpException(400, \Yii::t('yii', 'Your request is invalid.'));
|
||||
throw new HttpException(400, \Yii::t('yii:Your request is invalid.'));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user