Sha256: a743c7422ea0430dfecd155ef96f19d70c824fa99f00508214ecee85f4e78ddb

Contents?: true

Size: 306 Bytes

Versions: 16

Compression:

Stored size: 306 Bytes

Contents

# Methods added to this helper will be available to all templates in the application.
module Spree
  module Core
    module StoreHelpers

      # helper to determine if its appropriate to show the store menu
      def store_menu?
        %w{thank_you}.exclude? params[:action]
      end

    end
  end
end

Version data entries

16 entries across 16 versions & 2 rubygems

Version Path
spree_core-1.3.5 lib/spree/core/store_helpers.rb
spree_core-1.3.4 lib/spree/core/store_helpers.rb
spree_core-1.3.3 lib/spree/core/store_helpers.rb
spree_core-1.2.5 lib/spree/core/store_helpers.rb
spree_core-1.2.4 lib/spree/core/store_helpers.rb
spree_core-1.3.2 lib/spree/core/store_helpers.rb
spree_core-1.2.3 lib/spree/core/store_helpers.rb
spree_core-1.3.1 lib/spree/core/store_helpers.rb
spree_core-1.3.0 lib/spree/core/store_helpers.rb
spree_core-1.3.0.rc2 lib/spree/core/store_helpers.rb
dup_spree_core-1.3.0.rc1 lib/spree/core/store_helpers.rb
spree_core-1.3.0.rc1 lib/spree/core/store_helpers.rb
spree_core-1.2.2 lib/spree/core/store_helpers.rb
spree_core-1.2.0 lib/spree/core/store_helpers.rb
spree_core-1.2.0.rc2 lib/spree/core/store_helpers.rb
spree_core-1.2.0.rc1 lib/spree/core/store_helpers.rb