예제 #1
0
 public function index(RouteEx $_route)
 {
     $viewPath = Str::camel(str_replace(' ', '', ucwords(preg_replace('/(\\W+)/', '\\1 ', $_route->getPath()))));
     return new View($viewPath, [], false);
 }
예제 #2
0
 public function index(RouteEx $_route)
 {
     $viewPath = $this->getViewPath($_route->getPath());
     return new View($viewPath);
 }