LaravelDaily / quickadmin

Quick adminpanel builder package for Laravel 5
MIT License
600 stars 193 forks source link

Standalone routes #139

Closed igorsantos07 closed 6 years ago

igorsantos07 commented 6 years ago

This sort of fixes #136.

PovilasKorop commented 6 years ago

@igorsantos07 not an elegant (or easy to understand) solution with standalone routes, but it fixes the problem I guess, so accepting.

igorsantos07 commented 6 years ago

I tried to give some instructions on the config file... I think that, if the developer is looking for a way to tweak the routes, they'll understand what that option is for :) Otherwise they can surely ignore it altogether.

Finally, a google search may bring them to #136, from there into this pull request, and they'll find what to do.

EdvardasP commented 6 years ago

Hello Guys,

What is 'standaloneRoutes'? It is Laravel thing? Never seen before.

PovilasKorop commented 6 years ago

@EdvardasP this is a function added by @igorsantos07 - see documentation for how it works:

// If set to true, you'll need to copy the routes
// from vendor/laraveldaily/quickadmin/src/routes.php into your own /routes folder
'standaloneRoutes'   => false

https://github.com/LaravelDaily/quickadmin/pull/139/commits/fe6f8aae49ac87aecb67bd80417dc573c0226615

EdvardasP commented 6 years ago

Thank you, Povilas :)