mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-27 04:10:30 +08:00
Fixes #4914
This commit is contained in:
@@ -45,12 +45,12 @@ abstract class BaseMigrateController extends Controller
|
||||
/**
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function options($actionId)
|
||||
public function options($actionID)
|
||||
{
|
||||
return array_merge(
|
||||
parent::options($actionId),
|
||||
parent::options($actionID),
|
||||
['migrationPath'], // global for all actions
|
||||
($actionId == 'create') ? ['templateFile'] : [] // action create
|
||||
($actionID == 'create') ? ['templateFile'] : [] // action create
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user