Skip to content
Permalink
Browse files

Add missing property to Controller.

This property was lost in the shuffle but should exist on Controller, as
it is modified by methods like setRequest().
  • Loading branch information...
markstory committed Sep 16, 2014
1 parent 5d203b4 commit 98ff98e2b3d535f2f9fe70f8778a092a19463442
Showing with 18 additions and 10 deletions.
  1. +18 −10 src/Controller/Controller.php
@@ -172,6 +172,24 @@ class Controller implements EventListener {
*/
public $viewClass = 'Cake\View\View';
/**
* The path to this controllers view templates.
* Example `Articles`
*
* Set automatically using conventions in Controller::__construct().
*
* @var string
*/
public $viewPath;
/**
* The name of the view file to render. The name specified
* is the filename in /app/Template/<SubFolder> without the .ctp extension.
*
* @var string
*/
public $view = null;
/**
* Instance of the View created during rendering. Won't be set until after
* Controller::render() is called.
@@ -213,16 +231,6 @@ class Controller implements EventListener {
*/
public $methods = array();
/**
* The path to this controllers view templates.
* Example `Articles`
*
* Set automatically using conventions in Controller::__construct().
*
* @var string
*/
public $viewPath;
/**
* Constructor.
*

0 comments on commit 98ff98e

Please sign in to comment.
You can’t perform that action at this time.