Deleting a work with a slug says it's successful, but the record is still visible on works index page. You can also still visit the work's show page.
Clicking edit on the work leads to an error:
Screenshots or Video
Acceptance Criteria
[ ] Deleting a record should actually delete it. You should no longer see if in the works index page or be able to visit its show page.
Testing Instructions
Create a work with an aark id and save. Notice that aark_id becomes the slug for this work. Take note of the slug url.
Delete the work.
The work should no longer be present when we visit the slug url
The work should no longer be visible on the works index page
Summary
Deleting a work with a slug says it's successful, but the record is still visible on works index page. You can also still visit the work's show page.
Clicking edit on the work leads to an error:
Screenshots or Video
Acceptance Criteria
Testing Instructions
Create a work with an aark id and save. Notice that aark_id becomes the slug for this work. Take note of the slug url. Delete the work. The work should no longer be present when we visit the slug url The work should no longer be visible on the works index page
Notes