Add missing app files and fix Docker configuration
- Add all PHP app files (controllers, middleware, providers, models, enums) that were previously gitignored via app/.gitignore wildcard - Fix app/.gitignore to no longer ignore all files - Fix docker-compose.yml: use named volume for postgres to avoid chown permission errors on server - Fix Dockerfile: use --classmap-authoritative for composer dump-autoload Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
43
app/Http/Controllers/DebitController.php
Normal file
43
app/Http/Controllers/DebitController.php
Normal file
@@ -0,0 +1,43 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Controllers;
|
||||
|
||||
use Illuminate\Http\Request;
|
||||
|
||||
class DebitController extends Controller
|
||||
{
|
||||
public function index()
|
||||
{
|
||||
return view('debit.index');
|
||||
}
|
||||
|
||||
public function create()
|
||||
{
|
||||
return view('debit.create');
|
||||
}
|
||||
|
||||
public function store(Request $request)
|
||||
{
|
||||
return redirect()->route('debit.index');
|
||||
}
|
||||
|
||||
public function show($id)
|
||||
{
|
||||
return view('debit.show', compact('id'));
|
||||
}
|
||||
|
||||
public function edit($id)
|
||||
{
|
||||
return view('debit.edit', compact('id'));
|
||||
}
|
||||
|
||||
public function update(Request $request, $id)
|
||||
{
|
||||
return redirect()->route('debit.index');
|
||||
}
|
||||
|
||||
public function destroy($id)
|
||||
{
|
||||
return redirect()->route('debit.index');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user