Module: Spree::StoreHelper
- Defined in:
- app/helpers/spree/store_helper.rb
Overview
Methods added to this helper will be available to all templates in the frontend.
Instance Method Summary collapse
-
#store_menu? ⇒ Boolean
True when it is appropriate to show the store menu.
Instance Method Details
#store_menu? ⇒ Boolean
Returns true when it is appropriate to show the store menu.
8 9 10 |
# File 'app/helpers/spree/store_helper.rb', line 8 def %w{thank_you}.exclude? params[:action] end |