Blog - Upgrading
Upgrade notes
v0.x - v1.0.0
This version of EnsōCopy requires version
^4.0of EnsōCore.This version provides a separate publishable config file. If you do not already have one, you should publish it and copy data from your existing config file.
php artisan vendor:publish --provider "Yadda\Enso\Blog\EnsoBlogServiceProvider"If you have added the menu item to EnsoMenu using a static array, you should instead use the value from the new config file (copying any differences into your config file)
EnsoMenu::addItems([ ... [ 'icon' => 'fa fa-files-o', 'label' => 'Posts', 'route' => ['admin.posts.index'], ], ... ]);Should become
EnsoMenu::addItems([ ... Config::get('enso.crud.post.menuitem'), ... ]);