Module: Spree::Core::StoreHelpers

Defined in:
lib/spree/core/store_helpers.rb

Instance Method Summary collapse

Instance Method Details

#store_menu?Boolean

helper to determine if its appropriate to show the store menu

Returns:

  • (Boolean)


7
8
9
10
# File 'lib/spree/core/store_helpers.rb', line 7

def store_menu?
  return true unless %w{thank_you}.include? @current_action
  false
end