Skip to content

Commit

Permalink
Insert require for spree/core/controller_helpers_ext into config/init…
Browse files Browse the repository at this point in the history
…ializers/spree.rb
  • Loading branch information
radar committed Jun 20, 2012
1 parent d23de47 commit 8540b18
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ def self.source_paths

def generate
template 'migration.rb.tt', "db/migrate/#{Time.now.strftime("%Y%m%d%H%m%S")}_add_spree_fields_to_custom_user_table.rb"
template 'controller_helpers_ext.rb.tt', "lib/spree/core/controller_helpers_ext.rb"

insert_into_file 'config/initializers/spree.rb', :before => "# Configure Spree Preferences" do
%Q{require 'spree/core/controller_helpers_ext'\n}
end
end

def klass
Expand Down

0 comments on commit 8540b18

Please sign in to comment.