N1Prop
5 months ago
1106
9
Nova

Nova Resource route redirect

Posted 5 months ago by N1Prop

Hello

My resource can be accessed via http://www........com/nova/resources/q-requests/1

So I'm trying to redirect to a nova resource from routes/web.php as such

return redirect()->route('nova/{view}', ['resource' => 'q-requests', 'resourceId' => $qri]);

php artisan route:list shows

| GET|HEAD | nova/{view} | | Laravel\Nova\Http\Controllers\[email protected] | web,Laravel\Nova\Http\Middleware\Authenticate,Laravel\Nova\Http\Middleware\DispatchServingNovaEvent,Laravel\Nova\Http\Middleware\BootTools,Laravel\Nova\Http\Middleware\Authorize |

Getting ERROR: Route [nova/{view}] not defined.

Any ideas how to redirect to a nova resource?

Thank you

Please sign in or create an account to participate in this conversation.