Class: Spree::TaxonsController
- Inherits:
-
StoreController
- Object
- StoreController
- Spree::TaxonsController
- Includes:
- StorefrontHelper
- Defined in:
- app/controllers/spree/taxons_controller.rb
Instance Method Summary collapse
Methods included from StorefrontHelper
#as_aspect_ratio, #page_description, #page_image, #paths_equal?, #render_storefront_partials, #show_account_pane?, #spree_storefront_base_cache_key, #spree_storefront_base_cache_scope, #svg_country_icon, #tailwind_classes_for
Instance Method Details
#show ⇒ Object
9 10 11 12 13 |
# File 'app/controllers/spree/taxons_controller.rb', line 9 def show redirect_if_legacy_path unless turbo_frame_request? || turbo_stream_request? @current_page = current_theme.pages.find_by(type: 'Spree::Pages::Taxon') end |