Skip to content

Commit

Permalink
Remove impersonate overlay.
Browse files Browse the repository at this point in the history
  • Loading branch information
timvandijck committed Apr 2, 2024
1 parent d0a69e4 commit a10111a
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 159 deletions.
24 changes: 0 additions & 24 deletions app/Http/Controllers/StopImpersonationController.php

This file was deleted.

2 changes: 0 additions & 2 deletions app/Http/Kernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace App\Http;

use App\Http\Middleware\AddImpersonateOverlay;
use App\Http\Middleware\AdminsOnly;
use App\Http\Middleware\ForceJsonResponse;
use App\Http\Middleware\HandleReferrer;
Expand All @@ -29,7 +28,6 @@ class Kernel extends HttpKernel
\Illuminate\View\Middleware\ShareErrorsFromSession::class,
\Illuminate\Routing\Middleware\SubstituteBindings::class,
HandleReferrer::class,
AddImpersonateOverlay::class,
],

'admin' => [
Expand Down
75 changes: 0 additions & 75 deletions app/Http/Middleware/AddImpersonateOverlay.php

This file was deleted.

54 changes: 0 additions & 54 deletions resources/views/impersonate/overlay.blade.php

This file was deleted.

4 changes: 0 additions & 4 deletions routes/web.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,22 +28,18 @@
use App\Http\Controllers\RedirectDocsDomainController;
use App\Http\Controllers\RedirectGitHubAdClickController;
use App\Http\Controllers\SeriesController;
use App\Http\Controllers\StopImpersonationController;
use App\Http\Controllers\TidBitsSubscriptionController;
use App\Http\Controllers\UsesController;
use App\Http\Controllers\CoursesController;
use App\Http\Controllers\WebhookController;
use App\Http\Controllers\WwsdController;
use App\Models\Member;
use Illuminate\Support\Facades\Route;

Route::permanentRedirect('docs/ray', 'https://myray.app/docs/');
Route::permanentRedirect('docs/ray/{any}', 'https://myray.app/docs/')->where('any', '.*');

Route::redirect('/mailcoach/{any}', 'https://spatie.mailcoach.app/{any}')->where('any', '.*');

Route::get('stop-impersonation', StopImpersonationController::class)->name('stop-impersonation');

Route::feeds();

Route::redirect('/docs/products/ray', '/docs/ray');
Expand Down

0 comments on commit a10111a

Please sign in to comment.