Skip to content

Commit

Permalink
add web middleware
Browse files Browse the repository at this point in the history
  • Loading branch information
Gravitano committed Jan 11, 2016
1 parent 6668489 commit c3836e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Commands/stubs/routes.stub
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

Route::group(['prefix' => '$LOWER_NAME$', 'namespace' => '$MODULE_NAMESPACE$\$STUDLY_NAME$\Http\Controllers'], function()
Route::group(['middleware' => 'web', 'prefix' => '$LOWER_NAME$', 'namespace' => '$MODULE_NAMESPACE$\$STUDLY_NAME$\Http\Controllers'], function()
{
Route::get('/', '$STUDLY_NAME$Controller@index');
});

0 comments on commit c3836e2

Please sign in to comment.