fix back button

This commit is contained in:
arifal
2025-03-11 01:17:16 +07:00
parent 65600f1b4f
commit b8f7d7f655
5 changed files with 102 additions and 4 deletions

View File

@@ -3,6 +3,7 @@
namespace App\Http\Controllers\Data;
use App\Http\Controllers\Controller;
use App\Models\PbgTaskGoogleSheet;
use Illuminate\Http\Request;
class GoogleSheetsController extends Controller
@@ -24,7 +25,8 @@ class GoogleSheetsController extends Controller
public function show(string $id)
{
return view('data.google-sheet.show');
$data = PbgTaskGoogleSheet::find($id);
return view('data.google-sheet.show', compact('data'));
}
public function edit(string $id)