web.php 620 B

12345678910111213141516171819202122232425
  1. <?php
  2. use Illuminate\Support\Facades\Route;
  3. /*
  4. |--------------------------------------------------------------------------
  5. | Web Routes
  6. |--------------------------------------------------------------------------
  7. |
  8. | Here is where you can register web routes for your application. These
  9. | routes are loaded by the RouteServiceProvider and all of them will
  10. | be assigned to the "web" middleware group. Make something great!
  11. |
  12. */
  13. Route::get('/not-authorized', function () {
  14. return view('application');
  15. })->name('login');
  16. Route::get('{any?}', function () {
  17. return view('application');
  18. })->where('any', '.*');