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
-
#store_menu? ⇒ Boolean
helper to determine if its appropriate to show the store menu.
Instance Method Details
#store_menu? ⇒ Boolean
helper to determine if its appropriate to show the store menu
5 6 7 8 |
# File 'lib/store_helpers.rb', line 5 def return true unless %w{thank_you}.include? @current_action false end |