Oct 20, 2021
0
Level 1
Missing route Parameter in Nova relationship
I keep getting missing required route parameter when I load a relationship using -
HasOne::make('Profile Data','profile',ProfileData::class)->singularLabel('ProfileData'),
However, no errors are shown if this line is commented out. I'm unable to pinpoint the error as I'm only using the default fields, except to generate a button on the index view -
Button::make('Visit Page')->link(route('profile',['user' => $this]))
->visible($this->published == true)
->style('primary')
->onlyOnIndex(),
This uses the dillingham/nova-button package
Please or to participate in this conversation.