Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix failing NoActions comparison test
  • Loading branch information
bcrowe committed Apr 14, 2014
1 parent f7cc0c1 commit 1a73906
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/Cake/Console/Templates/default/classes/controller.ctp
Expand Up @@ -74,7 +74,9 @@ class <?php echo $controllerName; ?>Controller extends <?php echo $plugin; ?>App
echo ");\n\n";
endif;

echo trim($actions) . "\n";
if (!empty($actions)) {
echo trim($actions) . "\n";
}

endif; ?>
}

0 comments on commit 1a73906

Please sign in to comment.