1
0
mirror of https://github.com/flarum/core.git synced 2025-10-19 02:36:08 +02:00

Remove Middleware suffix

This commit is contained in:
Toby Zerner
2015-02-26 12:45:44 +10:30
parent f2fe0a2e1d
commit b4f3148e30
4 changed files with 4 additions and 4 deletions

View File

@@ -9,7 +9,7 @@ $action = function ($class) {
};
};
Route::group(['prefix' => 'api', 'middleware' => 'Flarum\Api\Middleware\LoginWithHeaderMiddleware'], function () use ($action) {
Route::group(['prefix' => 'api', 'middleware' => 'Flarum\Api\Middleware\LoginWithHeader'], function () use ($action) {
Route::post('token', [
'as' => 'flarum.api.token',