We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have this in my controller but i keep getting
Call to a member function with() on null
Here's what i have in my controller
class ShowTweet extends Controller { public function __invoke(User $user, Transactions $tweet) { return Inertia::modal('Users/Details') ->with([ 'user' => auth()->user(), 'tweet' => [ 'user' => 'John doe', 'tweet' => 'Oge has a big head' ], ]) ->baseRoute('get.users', $user); } }
The text was updated successfully, but these errors were encountered:
also when i tried
return Inertia::modal('Users/Details')->baseRoute('get.users', $user);
it returns a similar error
Call to a member function baseRoute() on null
Sorry, something went wrong.
No branches or pull requests
I have this in my controller but i keep getting
Here's what i have in my controller
The text was updated successfully, but these errors were encountered: