bshaffer / sfHadoriThemePlugin

symfony admin generator with a beautiful theme and clean generated code.
MIT License
21 stars 6 forks source link

Invalid key "show" #7

Closed roldan closed 13 years ago

roldan commented 13 years ago

Hello, I think I found another bug. When I try to change the title of the screen "show" in the file "generator.yml" I get the following error:

Configuration key "show" is invalid.

So I looked at the sfHadoriThemeGeneratorConfiguration to see which were the key availables and effectively if there is no key "show "

protected $ availableConfigs = array ( 'actions' => array (), 'fields' => array (), 'list' => array (), 'filter' => array (), 'form' => array (), 'edit' => array (), 'new' => array (), 'export' => array (), )

So I just have to add "show" to this array to make it right.

protected $ availableConfigs = array ( 'actions' => array (), 'fields' => array (), 'list' => array (), 'filter' => array (), 'form' => array (), 'edit' => array (), 'new' => array (), 'export' => array (), 'show' => array () )

bshaffer commented 13 years ago

Added "show" to $availableConfigs. Thanks for catching that!