Sha256: f8d27610a3c7257155a24a758d0bc3247824c5c1bba6b3a9403016a084be7085
Contents?: true
Size: 244 Bytes
Versions: 12
Compression:
Stored size: 244 Bytes
Contents
Spree::Admin::BaseController.unauthorized_redirect = -> do if spree_current_user flash[:error] = I18n.t('spree.authorization_failure') redirect_to spree.root_path else store_location redirect_to Alchemy.login_path end end
Version data entries
12 entries across 12 versions & 1 rubygems