mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Merge pull request #3316 from bcrowe/hotfix-controller-template
Add newline after actions in controller template
This commit is contained in:
commit
b9b1e85ff2
1 changed files with 3 additions and 1 deletions
|
@ -74,7 +74,9 @@ class <?php echo $controllerName; ?>Controller extends <?php echo $plugin; ?>App
|
||||||
echo ");\n\n";
|
echo ");\n\n";
|
||||||
endif;
|
endif;
|
||||||
|
|
||||||
echo trim($actions);
|
if (!empty($actions)) {
|
||||||
|
echo trim($actions) . "\n";
|
||||||
|
}
|
||||||
|
|
||||||
endif; ?>
|
endif; ?>
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue