Skip to content

Commit

Permalink
fix(admin): 404 when viewing response details
Browse files Browse the repository at this point in the history
  • Loading branch information
jxjj committed Oct 14, 2024
1 parent ed9c3ad commit e937711
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/Nova/Response.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@ public function fields(NovaRequest $request)
return [
ID::make()->sortable(),
BelongsTo::make('Session')->searchable(),
// BelongsTo::make('Question'),
HasOneThrough::make('Question', 'session', 'App\Nova\Question'),
BelongsTo::make('Question'),
BelongsTo::make('User')->searchable(),
Code::make('Response Info')->json(),
DateTime::make('Created At'),
Expand Down

0 comments on commit e937711

Please sign in to comment.