Permalink
Browse files

Fixed issue #7 show view does not accept actions

  • Loading branch information...
1 parent eb9d837 commit b02c6911dfa99cccc535b022c1cdb7f304e8d98f @66Ton99 66Ton99 committed Jun 8, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 data/generator/sfDoctrineModule/jroller/parts/showConfiguration.php
@@ -31,7 +31,8 @@ protected function compile()
public function getShowActions()
{
- return array( '_list' => NULL, '_edit' => NULL, '_delete' => NULL);
+ return <?php echo isset($this->config['show']['actions']) ? $this->asPhp($this->config['show']['actions']) : "array( '_list' => NULL, '_edit' => NULL, '_delete' => NULL)" ?>;
+<?php unset($this->config['show']['actions']) ?>
}

0 comments on commit b02c691

Please sign in to comment.