v0.6.0
This commit is contained in:
commit
a2a48d7ce2
148 files changed
+9946
No files matched your search
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Support\Facades\Route;
|
||||
use IriksIT\Manager\Http\Controllers\DashboardController;
|
||||
use IriksIT\Manager\Http\Controllers\LoginController;
|
||||
use IriksIT\Manager\Http\Controllers\MarkdownController;
|
||||
use IriksIT\Manager\Http\Controllers\ProfileController;
|
||||
|
||||
Route::get('/', DashboardController::class)->name('dashboard');
|
||||
Route::get('/profile', [ProfileController::class, 'show'])->name('profile.show');
|
||||
Route::put('/profile', [ProfileController::class, 'update'])->name('profile.update');
|
||||
Route::put('/profile/view', [ProfileController::class, 'view'])->name('profile.view');
|
||||
Route::put('/profile/tutorial', [ProfileController::class, 'tutorial'])->name('profile.tutorial');
|
||||
Route::post('/markdown', MarkdownController::class)->name('markdown.preview')->middleware('throttle:120,1');
|
||||
Route::post('/logout', [LoginController::class, 'destroy'])->name('logout');
|
||||
|
||||
// A screen that exists only in the bundle of the site (`manager.extensions`) has no route of its own: a browser that
|
||||
// asks for it gets the shell, which shows the screen. Anything else that asks for data gets a plain 404.
|
||||
Route::fallback(fn () => abort(404));
|
||||
Reference in new issue
Block a user