Skip to content

Commit 21b8c76

Browse files
committed
removed '_cell' from auto-generated view file name
1 parent 70c768d commit 21b8c76

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

system/Commands/Generators/CellGenerator.php

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -88,11 +88,8 @@ public function run(array $params)
8888
// Form the view name
8989
$segments = explode('\\', $this->qualifyClassName());
9090

91-
$view = array_pop($segments);
92-
$view = str_replace('Cell', '', decamelize($view));
93-
if (strpos($view, '_cell') === false) {
94-
$view .= '_cell';
95-
}
91+
$view = array_pop($segments);
92+
$view = decamelize($view);
9693
$segments[] = $view;
9794
$view = implode('\\', $segments);
9895

0 commit comments

Comments
 (0)