Created
March 1, 2011 21:43
-
-
Save benhutton/849951 to your computer and use it in GitHub Desktop.
How to fix spree's default engine
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
module SpreeSite | |
class Engine < Rails::Engine | |
def self.activate | |
# Add your custom site logic here | |
end | |
paths.config.routes = "lib/spree_blank.rb" | |
paths.config.initializers = "lib/spree_blank.rb" | |
config.to_prepare &method(:activate).to_proc | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment