Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

Rename route attribute to settingsRoute attribute.

MarioCake76d631d7ba76
diff --git a/app/Livewire/Project/Index.php b/app/Livewire/Project/Index.php
index 9ba082a8c9..f8eb838be6 100644
--- a/app/Livewire/Project/Index.php
+++ b/app/Livewire/Project/Index.php
@@ -19,7 +19,7 @@ class Index extends Component
{
$this->private_keys = PrivateKey::ownedByCurrentTeam()->get();
$this->projects = Project::ownedByCurrentTeam()->get()->map(function ($project) {
- $project->route = route('project.edit', ['project_uuid' => $project->uuid]);
+ $project->settingsRoute = route('project.edit', ['project_uuid' => $project->uuid]);
return $project;
});
diff --git a/resources/views/livewire/project/index.blade.php b/resources/views/livewire/project/index.blade.php
index d535355828..cb8e1bbede 100644
--- a/resources/views/livewire/project/index.blade.php
+++ b/resources/views/livewire/project/index.blade.php
@@ -26,7 +26,7 @@
</div>
<div class="flex items-center justify-center gap-2 pt-4 pb-2 mr-4 text-xs lg:py-0 lg:justify-normal">
<a class="mx-4 font-bold hover:underline"
- :href="item.route">
+ :href="item.settingsRoute">
Settings
</a>
</div>