Created
February 7, 2015 20:34
-
-
Save ivar/3bc53d759620df540928 to your computer and use it in GitHub Desktop.
app/helpers/spree/products_helper.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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