Sha256: dd25e91c763c5e8a03fc14dd16fd173860fc2c9608568cfefd9bcfbdb20588ad
Contents?: true
Size: 621 Bytes
Versions: 1
Compression:
Stored size: 621 Bytes
Contents
module Workarea module Admin class GuestBrowsingsController < Admin::ApplicationController include Storefront::CurrentCheckout required_permissions :people 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_to users_path end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
workarea-admin-3.5.0.beta.1 | app/controllers/workarea/admin/guest_browsings_controller.rb |