adminlte-laravel icon indicating copy to clipboard operation
adminlte-laravel copied to clipboard

Use loadRoutesFrom in adminlte ServiceProvider

Open acacha opened this issue 8 years ago • 0 comments

See:

https://github.com/laravel/framework/blob/5.3/src/Illuminate/Support/ServiceProvider.php

/**
     * Load the given routes file if routes are not already cached.
     *
     * @param  string  $path
     * @return void
     */
    protected function loadRoutesFrom($path)
    {
        if (! $this->app->routesAreCached()) {
            require $path;
        }
    }

acacha avatar Dec 15 '16 13:12 acacha