Compare commits
2 Commits
f858716e57
...
096224fe98
Author | SHA1 | Date |
---|---|---|
philipp lang | 096224fe98 | |
philipp lang | 646ce647da |
|
@ -2,7 +2,9 @@
|
|||
|
||||
namespace App\Dashboard;
|
||||
|
||||
use Illuminate\Routing\Router;
|
||||
use Illuminate\Support\ServiceProvider;
|
||||
use App\Dashboard\Actions\IndexAction as DashboardIndexAction;
|
||||
|
||||
class DashboardServiceProvider extends ServiceProvider
|
||||
{
|
||||
|
@ -23,5 +25,8 @@ class DashboardServiceProvider extends ServiceProvider
|
|||
*/
|
||||
public function boot()
|
||||
{
|
||||
app(Router::class)->middleware(['web', 'auth:web'])->group(function ($router) {
|
||||
$router->get('/', DashboardIndexAction::class)->name('home');
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<page-layout>
|
||||
<div class="gap-6 md:grid-cols-2 xl:grid-cols-4 grid p-6">
|
||||
<v-block v-for="(block, index) in blocks" :key="index" :title="block.title">
|
||||
<component :data="block.data" :is="block.component"></component>
|
||||
<component :is="block.component" :data="block.data"></component>
|
||||
</v-block>
|
||||
</div>
|
||||
</page-layout>
|
||||
|
|
|
@ -17,7 +17,6 @@ use App\Course\Actions\CourseIndexAction;
|
|||
use App\Course\Actions\CourseStoreAction;
|
||||
use App\Invoice\Actions\InvoiceStoreAction;
|
||||
use App\Course\Actions\CourseUpdateAction;
|
||||
use App\Dashboard\Actions\IndexAction as DashboardIndexAction;
|
||||
use App\Efz\ShowEfzDocumentAction;
|
||||
use App\Fileshare\Actions\FileshareApiIndexAction;
|
||||
use App\Fileshare\Actions\FileshareStoreAction;
|
||||
|
@ -84,7 +83,6 @@ Route::group(['namespace' => 'App\\Http\\Controllers'], function (): void {
|
|||
});
|
||||
|
||||
Route::group(['middleware' => 'auth:web'], function (): void {
|
||||
Route::get('/', DashboardIndexAction::class)->name('home');
|
||||
Route::post('/nami/login-check', NamiLoginCheckAction::class)->name('nami.login-check');
|
||||
Route::post('/nami/get-search-layer', NamiGetSearchLayerAction::class)->name('nami.get-search-layer');
|
||||
Route::post('/nami/search', NamiSearchAction::class)->name('nami.search');
|
||||
|
|
Loading…
Reference in New Issue