Merge pull request #3316 from bcrowe/hotfix-controller-template

Add newline after actions in controller template
This commit is contained in:
José Lorenzo Rodríguez 2014-04-14 09:10:39 +02:00
commit b9b1e85ff2

View file

@ -74,7 +74,9 @@ class <?php echo $controllerName; ?>Controller extends <?php echo $plugin; ?>App
echo ");\n\n";
endif;
echo trim($actions);
if (!empty($actions)) {
echo trim($actions) . "\n";
}
endif; ?>
}