Skip to content

Commit

Permalink
Detail Page 404
Browse files Browse the repository at this point in the history
  • Loading branch information
thecaliskan authored Aug 30, 2021
1 parent 302265d commit 84bd5c8
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 84bd5c8

Please sign in to comment.