Skip to content

Commit

Permalink
Add menu entry for Nova 4 (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
VGirol authored Feb 20, 2023
1 parent be123b2 commit f7a9203
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/NovaActivitylog.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@

namespace Bolechen\NovaActivitylog;

use Bolechen\NovaActivitylog\Resources\Activitylog;
use Illuminate\Http\Request;
use Laravel\Nova\Menu\MenuSection;
use Laravel\Nova\Tool;

class NovaActivitylog extends Tool
Expand All @@ -32,5 +34,8 @@ public function boot()
*/
public function menu(Request $request)
{
return MenuSection::resource(Activitylog::class)
->path('resources/activities')
->icon('document-duplicate');
}
}

0 comments on commit f7a9203

Please sign in to comment.