Skip to content

Commit

Permalink
Move web routes to use new Taxonomy controller
Browse files Browse the repository at this point in the history
  • Loading branch information
MuchQuak committed Feb 12, 2025
1 parent 2013287 commit e949495
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion routes/web.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@
use App\Http\Controllers\MediaController;
use App\Http\Controllers\OccurrenceController;
use App\Http\Controllers\ProjectController;
use App\Http\Controllers\TaxonomyController;
use App\Models\User;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Route;
use Laravel\Socialite\Facades\Socialite;

Expand Down Expand Up @@ -41,7 +43,8 @@
|--------------------------------------------------------------------------
*/
Route::group(['prefix' => 'taxon'], function () {
Route::view('/{tid}', 'pages/taxon/profile');
Route::get('/{tid}', [TaxonomyController::class, 'taxon']);
Route::get('/{tid}/edit', [TaxonomyController::class, 'taxonEdit']);
});

/*
Expand Down

0 comments on commit e949495

Please sign in to comment.