Sha256: eb425c3fd54e7daa31799d62a37019851d2d3ee51bab6ccc6083069b1c28413e
Contents?: true
Size: 590 Bytes
Versions: 27
Compression:
Stored size: 590 Bytes
Contents
module Workarea module Admin class GuestBrowsingsController < Admin::ApplicationController include Storefront::CurrentCheckout def create admin_browse_as_guest clear_current_order flash[:success] = t('workarea.admin.guest_browsing.flash_messages.started') redirect_to storefront.root_path end def destroy stop_admin_guest_browsing clear_current_order flash[:success] = t('workarea.admin.guest_browsing.flash_messages.stopped') redirect_back_or root_path end end end end
Version data entries
27 entries across 27 versions & 1 rubygems