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

Instance Method Details

#store_menu?Boolean

Returns true when it is appropriate to show the store menu.

Returns:

  • (Boolean)

    true when it is appropriate to show the store menu



8
9
10
# File 'app/helpers/spree/store_helper.rb', line 8

def store_menu?
  %w{thank_you}.exclude? params[:action]
end