mirror of
https://github.com/Bigherollc/wticreatorstudio.git
synced 2026-09-28 09:13:05 -04:00
22 lines
956 B
PHP
22 lines
956 B
PHP
<?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!
|
|
|
|
|
*/
|
|
|
|
use Illuminate\Support\Facades\Route;
|
|
|
|
Route::middleware(['auth','admin'])->prefix('contactrequest')->as('contactrequest.')->group(function() {
|
|
Route::get('/contact', 'ContactController@index')->name('contact.index')->middleware('permission');
|
|
Route::get('/contact-get-data', 'ContactController@getData')->name('contact.get-data');
|
|
Route::get('/contact/{id}', 'ContactController@show')->name('contact.show');
|
|
Route::post('/contact/delete', 'ContactController@destroy')->name('contact.delete')->middleware(['permission','prohibited_demo_mode']);
|
|
});
|