Skip to content

Commit

Permalink
fix copy/paste error on deletion policy for models
Browse files Browse the repository at this point in the history
  • Loading branch information
Floppy committed Jan 30, 2024
1 parent 121fa5d commit 58843a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/models_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def bulk_update
end

def destroy
authorize @file
authorize @model
@model.delete_from_disk_and_destroy
redirect_to library_path(@library)
end
Expand Down

0 comments on commit 58843a0

Please sign in to comment.