From db7c206ed904e26df7463c54b5dd70a443dfab46 Mon Sep 17 00:00:00 2001 From: Ronaldo Meneguite Date: Fri, 11 Mar 2016 10:45:03 -0300 Subject: [PATCH] fix view name in laravel 5.1 --- Commands/stubs/controller.stub | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Commands/stubs/controller.stub b/Commands/stubs/controller.stub index 2d2352f..82dc564 100644 --- a/Commands/stubs/controller.stub +++ b/Commands/stubs/controller.stub @@ -6,7 +6,7 @@ class $CLASS$ extends Controller { public function index() { - return view('$NAMESPACE$::index'); + return view('$LOWER_NAME$::index'); } } \ No newline at end of file