Skip to content
This repository has been archived by the owner on Jul 2, 2022. It is now read-only.

Commit

Permalink
fix middleware
Browse files Browse the repository at this point in the history
  • Loading branch information
saleem-hadad committed Apr 12, 2019
1 parent feac0e0 commit d7e4cec
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@
}
],
"require": {
"illuminate/support": "~5.4.0|~5.5.0|~5.6.0|~5.7.0",
"illuminate/support": "~5.4.0|~5.5.0|~5.6.0|~5.7.0|~5.8.0",
"erusev/parsedown-extra": "^0.7.1",
"symfony/dom-crawler": "^4.1",
"mockery/mockery": "^1.2",
"mews/purifier": "^2.1"
},
"require-dev": {
"phpunit/phpunit": "~7.0",
"laravel/framework": "~5.4.0|~5.5.0|~5.6.0|~5.7.0",
"laravel/framework": "~5.4.0|~5.5.0|~5.6.0|~5.7.0|~5.7.0",
"orchestra/database": "~3.4.0|~3.5.0|~3.6.0",
"orchestra/testbench": "~3.4.0|~3.5.0|~3.6.0|~3.7.0"
},
Expand Down
2 changes: 1 addition & 1 deletion routes/web.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
use Illuminate\Support\Facades\Route;

// Dashboard route (SPA)..
Route::view(config('blogged.routes.dashboard') . '/{page?}', 'blogged::dashboard.index')->where('page', '.*')->middleware('blogged');
Route::view(config('blogged.routes.dashboard') . '/{page?}', 'blogged::dashboard.index')->where('page', '.*')->middleware('blogged-back');

// Blog routes..
Route::get(config('blogged.routes.blog') . '/{category?}', 'BlogController@index')->name('index');
Expand Down
1 change: 0 additions & 1 deletion src/BloggedServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
namespace BinaryTorch\Blogged;

use Gate;
use Illuminate\Routing\Router;
use Illuminate\Support\Facades\Route;
use Illuminate\Support\ServiceProvider;
use BinaryTorch\Blogged\Commands\InstallCommand;
Expand Down

0 comments on commit d7e4cec

Please sign in to comment.