This commit is contained in:
Alexander Makarov
2014-09-04 03:27:13 +04:00
parent 3af08064b8
commit 00ca1cb4b3
16 changed files with 50 additions and 34 deletions

View File

@@ -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
);
}