Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

laravel service provider breaks route caching #75

Closed
Olofguard opened this issue Jan 5, 2016 · 2 comments
Closed

laravel service provider breaks route caching #75

Olofguard opened this issue Jan 5, 2016 · 2 comments

Comments

@Olofguard
Copy link
Contributor

The routes included in the ForrestServiceProvider contain closures which break route caching in laravel 5.

I may have missed something but these routes dont appear to be used anywhere.

My solution was to extend the service provider and overwrite the boot method.

public function boot()
{
    $this->publishes([
        __DIR__.'/../../../../config/config.php' => config_path('forrest.php'),
    ]);
}
@omniphx
Copy link
Owner

omniphx commented Jan 28, 2016

Hi @Olofguard,

I might end up removing the routes entirely (i usually override them anyways in my own projects).

Thanks for reporting!

@Olofguard
Copy link
Contributor Author

👍

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants