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]+');
|
2019-12-15 00:30:29 +00:00
|
|
|
|
2019-12-14 11:29:54 +00:00
|
|
|
Route::get('/p/info/{o}','PhotoController@info')->where('o','[0-9]+');
|
2019-11-09 02:52:04 +00:00
|
|
|
Route::get('/v/info/{id}','VideoController@info')->where('id','[0-9]+');
|
2019-12-15 00:30:29 +00:00
|
|
|
Route::get('/p/thumbnail/{o}','PhotoController@thumbnail')->where('o','[0-9]+');
|
2019-12-14 11:29:54 +00:00
|
|
|
Route::get('/p/view/{o}','PhotoController@view')->where('o','[0-9]+');
|
2019-11-09 02:52:04 +00:00
|
|
|
Route::get('/v/view/{id}','VideoController@view')->where('id','[0-9]+');
|
|
|
|
|
2019-12-15 00:30:29 +00:00
|
|
|
Route::post('/p/delete/{o}','PhotoController@delete')->where('o','[0-9]+');
|
2019-11-09 02:52:04 +00:00
|
|
|
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');
|
2019-12-15 00:30:29 +00:00
|
|
|
Route::post('/p/undelete/{o}','PhotoController@undelete')->where('o','[0-9]+');
|
2019-11-09 02:52:04 +00:00
|
|
|
Route::post('/v/undelete/{id}','VideoController@undelete')->where('id','[0-9]+');
|