Remove Spree resource controller custom callbacks

This commit is contained in:
Matt-Yorkley
2021-03-21 13:17:26 +00:00
parent 40be8e2874
commit a82bae2a46
3 changed files with 0 additions and 68 deletions

View File

@@ -1,23 +0,0 @@
class ActionCallbacks
attr_reader :before_methods
attr_reader :after_methods
attr_reader :fails_methods
def initialize
@before_methods = []
@after_methods = []
@fails_methods = []
end
def before(method)
@before_methods << method
end
def after(method)
@after_methods << method
end
def fails(method)
@fails_methods << method
end
end