diff --git a/app/Http/routes.php b/app/Http/routes.php index 5242c82..b77c1f2 100644 --- a/app/Http/routes.php +++ b/app/Http/routes.php @@ -186,8 +186,8 @@ Route::group(["middleware" => "theme"], function() { Route::get('{shortname}', 'CategoryController@showVideo')->where('shortname', '[a-z][a-z0-9]+'); Route::get('{shortname}/{id}', 'CategoryController@showVideo')->where(['shortname' => '[a-z][a-z0-9]+', 'id' => '[0-9]+']); - ##Tag View anybody? - Route::get('t/{tag}', 'TagviewController@showVideo')->where('tag', '[a-z][a-z0-9, ]+'); - Route::get('t/{tag}/{id}', 'TagviewController@showVideo')->where(['tag' => '[a-z][a-z0-9, ]+', 'id' => '[0-9]+']); + ##Tag View everybody! + Route::get('t/{tag}', 'TagviewController@showVideo')->where('tag', '[a-zA-Z][A-Za-z0-9, ]+'); + Route::get('t/{tag}/{id}', 'TagviewController@showVideo')->where(['tag' => '[a-zA-Z][A-Za-z0-9, ]+', 'id' => '[0-9]+']); });