Removing the image can also just be done as a card replacement
This commit is contained in:
@@ -3,6 +3,6 @@ class Cards::ImagesController < ApplicationController
|
||||
|
||||
def destroy
|
||||
@card.image.purge_later
|
||||
redirect_to @card
|
||||
render_card_replacement
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user