Browse files

Make sure controller properties are in a good state.

Fixes #45
  • Loading branch information...
1 parent 3ff2183 commit ba5de1d62593f2f191dd3da0d9a150815bd8ad9f @markstory markstory committed Sep 29, 2012
Showing with 16 additions and 3 deletions.
  1. +16 −3 Controller/ApiGeneratorAppController.php
View
19 Controller/ApiGeneratorAppController.php
@@ -13,19 +13,32 @@
* @copyright Copyright 2008-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
* @link http://cakephp.org
* @package api_generator
- * @subpackage
* @since ApiGenerator 0.1
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
- **/
+ */
App::uses('Folder', 'Utility');
class ApiGeneratorAppController extends AppController {
/**
+ * Auto-Render
+ *
+ * @var boolean
+ */
+ public $autoRender = true;
+
+/**
+ * Helpers
+ *
+ * @var array
+ */
+ public $helpers = array('Html', 'Form', 'Session');
+
+/**
* beforeFilter callback
*
* @return void
- **/
+ */
public function beforeFilter() {
parent::beforeFilter();
$this->ApiConfig = ClassRegistry::init('ApiGenerator.ApiConfig');

0 comments on commit ba5de1d

Please sign in to comment.