Skip to content

Instantly share code, notes, and snippets.

@ivar
Created February 7, 2015 20:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ivar/3bc53d759620df540928 to your computer and use it in GitHub Desktop.
Save ivar/3bc53d759620df540928 to your computer and use it in GitHub Desktop.
app/helpers/spree/products_helper.rb
#defined in app/helpers/spree/products_helper.rb
module Spree
module ProductsHelper
def each_date_bucket(&block)
..my method ..
end
end
end
# This declaration blows away the ProductsHelper included with Spree.
# How can I add to the products helper, without blowing away the existing ProductsHelper methods ?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment