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
Hi,
I am getting this error, doing everything like in the readme instructions.
Illuminate\Routing\Exceptions\UrlGenerationException Missing required parameter for [Route: laravel-grapesjs.model.templates] [URI: laravel-grapesjs/{model}/{editable}/templates] [Missing parameter: editable].
The text was updated successfully, but these errors were encountered:
I get the same problem. Any luck resolving it?
Sorry, something went wrong.
@ap1969 I used for Product, here is my working solution:
Product Controller:
protected function setupEditorRoutes($segment, $routeName, $controller) { Route::get($segment.'/{id}/editor', [ 'as' => $routeName.'.editor', 'uses' => $controller.'@editor', 'operation' => 'editor', ]); } public function editor(Request $request) { $product = Product::find($request->id); return $this->show_gjs_editor($request, $product); }
Product Model:
public function getKeyValue(){ return $this->id; }
No branches or pull requests
Hi,
I am getting this error, doing everything like in the readme instructions.
Illuminate\Routing\Exceptions\UrlGenerationException
Missing required parameter for [Route: laravel-grapesjs.model.templates] [URI: laravel-grapesjs/{model}/{editable}/templates] [Missing parameter: editable].
The text was updated successfully, but these errors were encountered: