<?php

use Illuminate\Support\Facades\Route;

/*
|--------------------------------------------------------------------------
| Sample Addon Routes
|--------------------------------------------------------------------------
|
| These routes are loaded by the addon system when the addon is enabled.
|
*/

Route::middleware(['web', 'auth'])->prefix('sample-addon')->name('sample-addon.')->group(function () {
    Route::get('/', function () {
        return view('addon.sample-addon::index', [
            'title' => 'Sample Addon',
            'message' => 'This is a sample addon page!',
        ]);
    })->name('index');
});
