mirror of
https://github.com/yiisoft/yii2.git
synced 2025-12-01 15:07:49 +08:00
Fixes #4914
This commit is contained in:
@@ -267,10 +267,10 @@ class Controller extends \yii\base\Controller
|
||||
* Note that the values setting via options are not available
|
||||
* until [[beforeAction()]] is being called.
|
||||
*
|
||||
* @param string $actionId the action id of the current request
|
||||
* @param string $actionID the action id of the current request
|
||||
* @return array the names of the options valid for the action
|
||||
*/
|
||||
public function options($actionId)
|
||||
public function options($actionID)
|
||||
{
|
||||
// $id might be used in subclass to provide options specific to action id
|
||||
return ['color', 'interactive'];
|
||||
|
||||
Reference in New Issue
Block a user