Skip to content

Commit

Permalink
Bug fixed with middleware
Browse files Browse the repository at this point in the history
  • Loading branch information
George Panayi committed Feb 9, 2017
1 parent 0f73805 commit 5c12918
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Providers/RouteServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public function map() {
protected function mapWebRoutes() {
$middleware = ['core_user', 'canBeInstalled'];
if (config('core_game.SSL_ENABLED')) {
$middleware[] = ['force_ssl'];
$middleware[] = 'force_ssl';
}
Route::group([
'middleware' => $middleware,
Expand Down

0 comments on commit 5c12918

Please sign in to comment.