Remove bubble images independently
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
class Bubbles::ImagesController < ApplicationController
|
||||
include BubbleScoped
|
||||
|
||||
def destroy
|
||||
@bubble.image.purge_later
|
||||
redirect_to @bubble
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user