Skip to content

Commit

Permalink
Merge pull request #83 from thecaliskan/patch-1
Browse files Browse the repository at this point in the history
Detail Page 404
  • Loading branch information
toonvandenbos authored Sep 2, 2021
2 parents 302265d + 84bd5c8 commit 23331b4
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/Http/Controllers/ActionController.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,24 @@
namespace Whitecube\NovaPage\Http\Controllers;

use Laravel\Nova\Http\Controllers\ActionController as Controller;
use Laravel\Nova\Http\Requests\NovaRequest;

class ActionController extends Controller
{
/**
* List the actions for the given resource.
*
* @param \Laravel\Nova\Http\Requests\NovaRequest $request
* @return \Illuminate\Http\Response
*/
public function index(NovaRequest $request)
{
return response()->json([
'actions' => [],
'pivotActions' => [
'name' => $request->pivotName(),
'actions' => [],
],
]);
}
}

0 comments on commit 23331b4

Please sign in to comment.