Sha256: 1fa05ceb0da7e11b65ca186e2b648056b897a52f3bc5b8e1a54b5b2647da67fc

Contents?: true

Size: 339 Bytes

Versions: 21

Compression:

Stored size: 339 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?
        return true unless %w{thank_you}.include? @current_action
        false
      end

    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
spree_core-1.1.6 lib/spree/core/store_helpers.rb
spree_core-1.1.5 lib/spree/core/store_helpers.rb
spree_core-1.0.7 lib/spree/core/store_helpers.rb
spree_core-1.1.4 lib/spree/core/store_helpers.rb
spree_core-1.1.3 lib/spree/core/store_helpers.rb
spree_core-1.0.6 lib/spree/core/store_helpers.rb
spree_core-1.1.2 lib/spree/core/store_helpers.rb
spree_core-1.1.2.rc1 lib/spree/core/store_helpers.rb
spree_core-1.1.1 lib/spree/core/store_helpers.rb
spree_core-1.1.0 lib/spree/core/store_helpers.rb
spree_core-1.0.4 lib/spree/core/store_helpers.rb
spree_core-1.1.0.rc2 lib/spree/core/store_helpers.rb
spree_core-1.1.0.rc1 lib/spree/core/store_helpers.rb
spree_core-1.0.3 lib/spree/core/store_helpers.rb
spree_core-1.0.2 lib/spree/core/store_helpers.rb
spree_core-1.0.1 lib/spree/core/store_helpers.rb
spree_core-1.0.0 lib/spree/core/store_helpers.rb
spree_core-1.0.0.rc4 lib/spree/core/store_helpers.rb
spree_core-1.0.0.rc3 lib/spree/core/store_helpers.rb
spree_core-1.0.0.rc2 lib/spree/core/store_helpers.rb