Skip to content

Commit

Permalink
update for spree master 0.9.9
Browse files Browse the repository at this point in the history
  • Loading branch information
taweili authored and RSpace committed Dec 2, 2009
1 parent 98cd691 commit dd87e39
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions heroku_extension.rb
Expand Up @@ -11,15 +11,16 @@ class HerokuExtension < Spree::Extension
# def self.require_gems(config)
# config.gem "gemname-goes-here", :version => '1.2.3'
# end

def activate

# Patch up for strange error in a call to javascript include tag
require File.expand_path(File.dirname(__FILE__) + '/lib/javascript_include_tag_patch.rb')

# Disable caching in the production environment
ActionController::Base.perform_caching = false if RAILS_ENV == 'production'

Spree::BaseController.perform_caching = false if RAILS_ENV == 'production'

# Add your extension tab to the admin.
# Requires that you have defined an admin controller:
# app/controllers/admin/yourextension_controller
Expand Down

0 comments on commit dd87e39

Please sign in to comment.