diff --git a/cake/console/libs/tasks/view.php b/cake/console/libs/tasks/view.php
index <HASH>..<HASH> 100644
--- a/cake/console/libs/tasks/view.php
+++ b/cake/console/libs/tasks/view.php
@@ -159,6 +159,7 @@ class ViewTask extends Shell {
  **/
 	function all() {
 		$actions = $this->scaffoldActions;
+		$this->Controller->interactive = false;
 		$tables = $this->Controller->listAll($this->connection, false);
 		$this->interactive = false;
 		foreach ($tables as $table) {
@@ -167,9 +168,7 @@ class ViewTask extends Shell {
 			$this->controllerPath = Inflector::underscore($this->controllerName);
 			if (App::import('Model', $model)) {
 				$vars = $this->__loadController();
-				if ($vars) {
-					$this->bakeActions($actions, $vars);
-				}
+				$this->bakeActions($actions, $vars);
 			}
 		}
 	}
Removing more if() blocks
Silencing Controller task in all()