Skip to content

Commit

Permalink
Change auth middleware order
Browse files Browse the repository at this point in the history
  • Loading branch information
mpociot committed May 6, 2016
1 parent 055c122 commit 11e78aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

Route::group(['middleware' => ['auth', 'web']], function ($router) {
Route::group(['middleware' => ['web', 'auth']], function ($router) {
$router->get('/settings/api/webhooks', 'Mpociot\CaptainHook\Http\WebhookController@all');
$router->post('/settings/api/webhook', 'Mpociot\CaptainHook\Http\WebhookController@store');
$router->put('/settings/api/webhook/{webhook_id}', 'Mpociot\CaptainHook\Http\WebhookController@update');
Expand Down

0 comments on commit 11e78aa

Please sign in to comment.