Skip to content

Commit

Permalink
Ajuste vista controlador categorías
Browse files Browse the repository at this point in the history
  • Loading branch information
FazeElian committed Nov 21, 2023
1 parent a530dad commit 6e77ff4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/Http/Controllers/CategoryController.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public function index()
{
$categories = Category::paginate();

return view('admin.category.index', compact('categories'))
return view('Admin.category.index', compact('categories'))
->with('i', (request()->input('page', 1) - 1) * $categories->perPage());
}

Expand All @@ -32,7 +32,7 @@ public function index()
public function create()
{
$category = new Category();
return view('admin.category.create', compact('category'));
return view('Admin.category.create', compact('category'));
}

/**
Expand Down Expand Up @@ -60,7 +60,7 @@ public function show($id)
{
$category = Category::find($id);

return view('admin.category.show', compact('category'));
return view('Admin.category.show', compact('category'));
}

/**
Expand All @@ -73,7 +73,7 @@ public function edit($id)
{
$category = Category::find($id);

return view('admin.category.edit', compact('category'));
return view('Aqdmin.category.edit', compact('category'));
}

/**
Expand Down
Binary file not shown.

0 comments on commit 6e77ff4

Please sign in to comment.