diff --git a/app/Http/routes.php b/app/Http/routes.php index b77c1f2..85b4723 100644 --- a/app/Http/routes.php +++ b/app/Http/routes.php @@ -187,7 +187,7 @@ Route::group(["middleware" => "theme"], function() { Route::get('{shortname}/{id}', 'CategoryController@showVideo')->where(['shortname' => '[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]+']); + Route::get('t/{tag}', 'TagviewController@showVideo'); + Route::get('t/{tag}/{id}', 'TagviewController@showVideo')->where('id','[0-9]+'); });