chore: remove obsolete duplicate views/components (superseded code)
Deleted (all superseded, recoverable in git history): - resources/views/projects/edit.blade.php + ProjectController@edit() - resources/views/projects/create.blade.php + ProjectController@create() (projects.create/edit routes point to the Livewire ProjectForm; these controller methods were excluded from the resource and never invoked) - app/Livewire/ProjectEditTabs.php + project-edit-tabs.blade.php (old tabbed editor, functionality recovered inside ProjectForm) - app/Livewire/LayerUpload.php + layer-upload.blade.php (superseded by LayerManager) Kept resources/views/livewire/issues/issue-manager.blade.php as a reference for the future rich Issues screen (its companion component was never built). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -19,15 +19,6 @@ class ProjectController extends Controller
|
||||
return view('projects.index');
|
||||
}
|
||||
|
||||
/**
|
||||
* Show the form for creating a new resource.
|
||||
*/
|
||||
public function create()
|
||||
{
|
||||
Gate::authorize('create projects');
|
||||
return view('projects.create');
|
||||
}
|
||||
|
||||
/**
|
||||
* Store a newly created resource in storage.
|
||||
*/
|
||||
@@ -58,15 +49,6 @@ class ProjectController extends Controller
|
||||
return redirect()->route('projects.map', $project);
|
||||
}
|
||||
|
||||
/**
|
||||
* Show the form for editing the specified resource.
|
||||
*/
|
||||
public function edit(Project $project) // <--- ROUTE MODEL BINDING
|
||||
{
|
||||
Gate::authorize('edit projects', $project);
|
||||
return view('projects.edit', compact('project'));
|
||||
}
|
||||
|
||||
/**
|
||||
* Update the specified resource in storage.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user