2019-11-08 12:08:34 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| Web Routes
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
| Here is where you can register web routes for your application. These
|
|
|
|
| routes are loaded by the RouteServiceProvider within a group which
|
|
|
|
| contains the "web" middleware group. Now create something great!
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
2019-11-23 01:51:30 +00:00
|
|
|
Route::get('/home','HomeController@home');
|
2019-11-09 02:52:04 +00:00
|
|
|
Route::get('/p/deletes/{id?}','PhotoController@deletes')->where('id','[0-9]+');
|
|
|
|
Route::get('/v/deletes/{id?}','VideoController@deletes')->where('id','[0-9]+');
|
|
|
|
Route::get('/p/duplicates/{id?}','PhotoController@duplicates')->where('id','[0-9]+');
|
|
|
|
Route::get('/v/duplicates/{id?}','VideoController@duplicates')->where('id','[0-9]+');
|
|
|
|
Route::get('/p/info/{id}','PhotoController@info')->where('id','[0-9]+');
|
|
|
|
Route::get('/v/info/{id}','VideoController@info')->where('id','[0-9]+');
|
|
|
|
Route::get('/p/thumbnail/{id}','PhotoController@thumbnail')->where('id','[0-9]+');
|
|
|
|
Route::get('/p/view/{id}','PhotoController@view')->where('id','[0-9]+');
|
|
|
|
Route::get('/v/view/{id}','VideoController@view')->where('id','[0-9]+');
|
|
|
|
|
|
|
|
Route::post('/p/delete/{id}','PhotoController@delete')->where('id','[0-9]+');
|
|
|
|
Route::post('/v/delete/{id}','VideoController@delete')->where('id','[0-9]+');
|
|
|
|
Route::post('/p/duplicates','PhotoController@duplicatesUpdate');
|
|
|
|
Route::post('/v/duplicates','VideoController@duplicatesUpdate');
|
|
|
|
Route::post('/p/deletes','PhotoController@deletesUpdate');
|
|
|
|
Route::post('/v/deletes','VideoController@deletesUpdate');
|
|
|
|
Route::post('/p/undelete/{id}','PhotoController@undelete')->where('id','[0-9]+');
|
|
|
|
Route::post('/v/undelete/{id}','VideoController@undelete')->where('id','[0-9]+');
|