diff --git a/Packages/User/laravel_controller.sublime-snippet b/Packages/User/laravel_controller.sublime-snippet index ff30d52..ed4886c 100644 --- a/Packages/User/laravel_controller.sublime-snippet +++ b/Packages/User/laravel_controller.sublime-snippet @@ -9,7 +9,7 @@ public function index(Request \$request) 'all${2:Models}' => ${1:Model}::where('user_id', \$request->user()->id)->paginate(), ]; - return Inertia::render('${2:Models}/Index')->with(\$data); + return Inertia::render('Dashboard/${2:Models}/Index')->with(\$data); } public function show(${1:Model} \$${4:model}) @@ -18,14 +18,14 @@ public function show(${1:Model} \$${4:model}) '${4:model}' => \$${4:model}, ]; - return Inertia::render('${2:Models}/Show')->with(\$data); + return Inertia::render('Dashboard/${2:Models}/Show')->with(\$data); } public function create() { \$data = []; - return Inertia::render('${2:Models}/Create')->with(\$data); + return Inertia::render('Dashboard/${2:Models}/Create')->with(\$data); } public function store(Request \$request) @@ -48,7 +48,7 @@ public function edit(Request \$request, ${1:Model} \$${4:model}) '${4:model}' => \$${4:model}, ]; - return Inertia::render('${2:Models}/Edit')->with(\$data); + return Inertia::render('Dashboard/${2:Models}/Edit')->with(\$data); } public function update(Request \$request, ${1:Model} \$${4:model})