Skip to content

Commit

Permalink
Dusting
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcyLina authored and actions-user committed Nov 8, 2024
1 parent 96e8c65 commit c5411c4
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions app/Http/Controllers/ResourceController.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@

class ResourceController extends Controller
{
public function index(): View
{
$resources = Resource::where('created_at', '>=', Carbon::now()->subDays(30))
->with('modules')
->get();
public function index(): View
{
$resources = Resource::where('created_at', '>=', Carbon::now()->subDays(30))
->with('modules')
->get();

return view('new-resources', [
'pageTitle' => __('New Resources'),
'resources' => $resources,
]);
}
return view('new-resources', [
'pageTitle' => __('New Resources'),
'resources' => $resources,
]);
}
}

0 comments on commit c5411c4

Please sign in to comment.