Skip to content

Commit

Permalink
BUG: Link was hard coded
Browse files Browse the repository at this point in the history
  • Loading branch information
alnutile committed Jun 16, 2023
1 parent c279f4d commit b3c0eda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/js/Pages/Projects/Components/ExistingSources.vue
Expand Up @@ -11,7 +11,7 @@
<div class="draggable" :key="element.id">
<ArrowsPointingOutIcon class="w-4 h-4 text-gray-400 hover:cursor-grab"/>
</div>
<Link :href="route('sources.web_file.edit', {
<Link :href="route('sources.' + element.type + '.edit', {
project: project.id,
source: element.id
})">
Expand Down

0 comments on commit b3c0eda

Please sign in to comment.