q-flux / SOEN341

2 stars 8 forks source link

Failed deleting tweeted images #113

Closed djaekim closed 5 years ago

djaekim commented 5 years ago

Describe the bug Deleting a tweeted image does not get deleted in photo page

To Reproduce Steps to reproduce the behavior:

  1. Click tweet image
  2. Find image to tweet
  3. Click upload
  4. Delete image
  5. Go to photo page

Expected behavior

Screenshots Deleted image still shown image

kasrarad commented 5 years ago

The code is correct. Go to public folder->storage and delete the photo folder and run: php artisan migrate:fresh

djaekim commented 5 years ago

It does work now. Not sure why it wasn't working before! Closing this issue now!