pingpong-labs / admin

Laravel 5 Admin
https://packagist.org/packages/pingpong/admin
BSD 3-Clause "New" or "Revised" License
433 stars 114 forks source link

error path on config.php to view layout #41

Open romannebesnuy opened 9 years ago

romannebesnuy commented 9 years ago

In src/config/config.php path for view is:

'views' => ...

And when we publish admin from artisan command we crate /config/admin.php and then merge it with first file.

But your path in /src/PingPong/admin/Composers/LayoutComposer.php for layout is

$layout = config('admin.view.layout', 'admin::layouts.master');

So we can't rewrite path for view layout =(.

So you must rewrite in config.php: 'views' to 'view'.

Thanks for future update =)