Module: StoreHelpers

Defined in:
lib/store_helpers.rb

Overview

Methods added to this helper will be available to all templates in the application.

Instance Method Summary collapse

Instance Method Details

#store_menu?Boolean

helper to determine if its appropriate to show the store menu

Returns:

  • (Boolean)


5
6
7
8
# File 'lib/store_helpers.rb', line 5

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