Skip to content

Commit

Permalink
Merge pull request #6 from team-underground/fix/lgoin-redirect
Browse files Browse the repository at this point in the history
redirect to login while expired session issue fixed
  • Loading branch information
abhisheksarmah authored Aug 2, 2020
2 parents b786a55 + 95f7063 commit f92a8a1
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/FlowcmsServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,7 @@ public function boot(Router $router)
$this->loadViewsFrom(__DIR__ . '/../resources/views', 'flowcms');
$this->loadBladeComponents();
$this->loadMigrationsFrom(realpath(__DIR__ . '/../migrations'));
$this->loadRoutesFrom(__DIR__ . '/../routes/web.php');
if (! $this->app->runningInConsole()) {
if (!$this->app->runningInConsole()) {
View::share('pages', Page::getPagesForMenu());
}
}
Expand Down Expand Up @@ -104,9 +103,6 @@ public function register()
$this->registerPublishableResources();
$this->registerConsoleCommands();
}
// $this->loadRoutesFrom(__DIR__ . '/../routes/web.php');
// Automatically apply the package configuration
// $this->mergeConfigFrom(__DIR__ . '/../config/config.php', 'flowcms');

$this->app->singleton('League\Glide\Server', function ($app) {
// $filesystem = $app->make('Illuminate\Contracts\Filesystem\Filesystem');
Expand Down

0 comments on commit f92a8a1

Please sign in to comment.