Repo for the search and displace core module including the interface to select files and search and displace operations to run on them. https://searchanddisplace.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

39 lines
1.5 KiB

<?php
use App\Http\Controllers\FileController;
use Illuminate\Support\Facades\Route;
/*
|--------------------------------------------------------------------------
| 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!
|
*/
Route::get('/', 'HomeController@index');
Route::get('/file/download/{path}', [
FileController::class,
'download'
])->where('path', '.*')->name('file.download');
Route::get('/contracts-images/{id}/{image}', 'ContractImageController@show');
Route::post('/search-and-displace/original-document', 'SearchAndDisplaceOriginalDocumentController@store');
Route::get('/search-and-displace/original-document/{id}', 'SearchAndDisplaceOriginalDocumentController@show');
Route::get('/search-and-displace/original-document/{id}/download', 'SearchAndDisplaceOriginalDocumentController@download');
Route::get('/search-and-displace/{id}', 'SearchAndDisplaceController@show');
Route::post('/search-and-displace', 'SearchAndDisplaceController@store');
Route::get('/regex/create', 'RegexController@create');
Route::post('/regex', 'RegexController@store');
Route::resource('/searchers', 'SearcherController');
Route::get('/all-searchers', 'SearcherController@searchersCollection');
Route::webhooks('/webhooks', 'default');