Merge branch 'modular' of https://git.putrakuningan.com/putrakuningan/cetak-label into modular
# Conflicts: # Modules/CetakLabel/Routes/api.php
This commit is contained in:
commit
6033e1850a
@ -1,25 +1,22 @@
|
||||
<?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!
|
||||
|
|
||||
*/
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| 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 Modules\CetakLabel\Http\Controllers\DirectoratController;
|
||||
use Modules\CetakLabel\Http\Controllers\DirectoratController;
|
||||
|
||||
$module = Module::find('CetakLabel');
|
||||
$domain = config($module->getLowerName() . '.domain');
|
||||
|
||||
Route::domain($domain)->group(function () {
|
||||
Route::domain('cetaklabel.io')->group(function () {
|
||||
Route::group(['middleware' => ['auth', 'verified']], function () {
|
||||
Route::resource('directorat', DirectoratController::class);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user