Fix failing NoActions comparison test

This commit is contained in:
Bryan Crowe 2014-04-13 23:28:13 -04:00
parent f7cc0c1802
commit 1a73906a50

View file

@ -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; ?>
}