/** * @var bool whether to automatically pluralize the URL names for controllers. * If true, a controller ID will appear in plural form in URLs. For example, `user` controller * will appear as `users` in URLs. * @see controller */ public $pluralize = true;
你这么写需要先设置
'pluralize'=>false;
@6把刀 感谢感谢
/**
* @var bool whether to automatically pluralize the URL names for controllers.
* If true, a controller ID will appear in plural form in URLs. For example, `user` controller
* will appear as `users` in URLs.
* @see controller
*/
public $pluralize = true;
你这么写需要先设置 'pluralize'=>false;
/** * @var bool whether to automatically pluralize the URL names for controllers. * If true, a controller ID will appear in plural form in URLs. For example, `user` controller * will appear as `users` in URLs. * @see controller */ public $pluralize = true;
你这么写需要先设置
'pluralize'=>false;
对哟,我怎么吧这个忘记了,感谢感谢