Add delete_content_for helper, can be used for removing the sidebar from spree views

This commit is contained in:
Rohan Mitchell
2013-09-10 08:45:59 +10:00
parent 3ac4bd3b5f
commit 15d3bff92d

View File

@@ -0,0 +1,9 @@
module ActionView
module Helpers
module CaptureHelper
def delete_content_for(name)
@view_flow.set(name, nil)
end
end
end
end