We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 70c768d commit 21b8c76Copy full SHA for 21b8c76
1 file changed
system/Commands/Generators/CellGenerator.php
@@ -88,11 +88,8 @@ public function run(array $params)
88
// Form the view name
89
$segments = explode('\\', $this->qualifyClassName());
90
91
- $view = array_pop($segments);
92
- $view = str_replace('Cell', '', decamelize($view));
93
- if (strpos($view, '_cell') === false) {
94
- $view .= '_cell';
95
- }
+ $view = array_pop($segments);
+ $view = decamelize($view);
96
$segments[] = $view;
97
$view = implode('\\', $segments);
98
0 commit comments