Sha256: 3a3f6c12b0f9bd1abd77db10b338c50a75ebc0023d491d4f23b68d3c61f49064

Contents?: true

Size: 845 Bytes

Versions: 3

Compression:

Stored size: 845 Bytes

Contents

# More on Spree's preference configuration - http://guides.spreecommerce.com/preferences.html#site_wide_preferences
module Spree
  class ActiveSaleConfiguration < Preferences::Configuration
    preference :paginate_sale_events_for_admin?, :boolean, :default => false
    preference :paginate_sales_for_admin?, :boolean, :default => false
    preference :paginate_sale_events_for_user?, :boolean, :default => false
    preference :paginate_sales_for_user?, :boolean, :default => false
    preference :name_with_event_position?, :boolean, :default => false
    preference :admin_active_sales_per_page, :integer, :default => 25
    preference :active_sales_per_page, :integer, :default => 25
    preference :admin_active_sale_events_per_page, :integer, :default => 25
    preference :active_sale_events_per_page, :integer, :default => 25
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
spree_active_sale-2.0.0 app/models/spree/active_sale_configuration.rb
spree_active_sale-1.3.2 app/models/spree/active_sale_configuration.rb
spree_active_sale-1.3.1 app/models/spree/active_sale_configuration.rb