Skip to content

Commit

Permalink
Merge pull request #10 from dniccum/bugfix/abstract-method-error
Browse files Browse the repository at this point in the history
Bugfix/abstract method error
  • Loading branch information
dniccum authored Oct 18, 2022
2 parents 5f030d2 + 1ef3c33 commit 1c2b582
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
8 changes: 7 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,11 @@
"sort-packages": true
},
"minimum-stability": "dev",
"prefer-stable": true
"prefer-stable": true,
"repositories": [
{
"type": "composer",
"url": "https://nova.laravel.com"
}
]
}
10 changes: 6 additions & 4 deletions src/NovaWebhooks.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

namespace Dniccum\NovaWebhooks;

use Illuminate\Http\Request;
use Laravel\Nova\Nova;
use Laravel\Nova\Tool;

Expand All @@ -19,12 +20,13 @@ public function boot()
}

/**
* Build the view that renders the navigation links for the tool.
* Build the menu that renders the navigation links for the tool.
*
* @return \Illuminate\View\View
* @param \Illuminate\Http\Request $request
* @return mixed
*/
public function renderNavigation()
public function menu(Request $request)
{
// return view('nova-webhooks::navigation');
return null;
}
}

0 comments on commit 1c2b582

Please sign in to comment.