Skip to content

Commit

Permalink
Updates for namespace change.
Browse files Browse the repository at this point in the history
  • Loading branch information
JDutil committed Nov 16, 2011
1 parent f44ab94 commit cab0643
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/recently_viewed_configuration.rb
@@ -1,3 +1,3 @@
class RecentlyViewedConfiguration < Configuration
class RecentlyViewedConfiguration < Spree::Configuration
preference :recently_viewed_products_max_count, :integer, :default => 5
end
2 changes: 1 addition & 1 deletion lib/spree/recently_viewed/config.rb
Expand Up @@ -13,7 +13,7 @@ class Config

class << self
def instance
return nil unless ActiveRecord::Base.connection.tables.include?('configurations')
return nil unless ActiveRecord::Base.connection.tables.include?('spree_configurations')
RecentlyViewedConfiguration.find_or_create_by_name("Default recently_viewed configuration")
end
end
Expand Down

0 comments on commit cab0643

Please sign in to comment.