caps or not to caps

This commit is contained in:
x
2024-06-10 02:31:39 +02:00
parent 5cd4a8da92
commit 1008649005

View File

@@ -186,8 +186,8 @@ Route::group(["middleware" => "theme"], function() {
Route::get('{shortname}', 'CategoryController@showVideo')->where('shortname', '[a-z][a-z0-9]+'); 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]+']); Route::get('{shortname}/{id}', 'CategoryController@showVideo')->where(['shortname' => '[a-z][a-z0-9]+', 'id' => '[0-9]+']);
##Tag View anybody? ##Tag View everybody!
Route::get('t/{tag}', 'TagviewController@showVideo')->where('tag', '[a-z][a-z0-9, ]+'); 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-z][a-z0-9, ]+', 'id' => '[0-9]+']); Route::get('t/{tag}/{id}', 'TagviewController@showVideo')->where(['tag' => '[a-zA-Z][A-Za-z0-9, ]+', 'id' => '[0-9]+']);
}); });