Skip to content

Commit

Permalink
Merge pull request #15819 from snipe/fixes_asset_file_deletion
Browse files Browse the repository at this point in the history
Corrected route name for delete action on filestable on assets
  • Loading branch information
snipe authored Nov 14, 2024
2 parents 306c97b + 636e466 commit 7b7a848
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/views/hardware/view.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -1365,7 +1365,7 @@ class="table table-striped snipe-table"
<x-filestable
filepath="private_uploads/assets/"
showfile_routename="show/assetfile"
deletefile_routename="delete/modelfile"
deletefile_routename="delete/assetfile"
:object="$asset" />
</div> <!-- /.col-md-12 -->
</div> <!-- /.row -->
Expand All @@ -1379,7 +1379,7 @@ class="table table-striped snipe-table"
<x-filestable
filepath="private_uploads/assetmodels/"
showfile_routename="show/modelfile"
deletefile_routename="userfile.destroy"
deletefile_routename="delete/modelfile"
:object="$asset->model" />

</div> <!-- /.col-md-12 -->
Expand Down

0 comments on commit 7b7a848

Please sign in to comment.