Sha256: 00ab04e0956210dbf104ca790de384c34fdc26677f8a7d4b881c3bd7745a4b45
Contents?: true
Size: 402 Bytes
Versions: 11
Compression:
Stored size: 402 Bytes
Contents
module Spree module Admin module CmsHelper def cms_page_preview_url(page) page_localization = if page.locale == current_store.default_locale nil else page.locale end spree_storefront_resource_url(page, locale: page_localization) end end end end
Version data entries
11 entries across 11 versions & 1 rubygems